Hi,I am trying to move documents from local computer documents directory to a location on my server if I use:
move /y "c:\my documents\*.doc" "\\NTSERVER1\cdrives$\pc_010\"
on the command line it works fine and moves all the files with the extension of doc to the appropiate directory, in conjunction with the shell command I have with no luck when I used this command:
shell "%comspec% /c move /y c:\my documents\*.doc \\NTSERVER1\cdrives$\" + @WKSTA + "\"
The computer knows what @WKSTA as it has previously created the directory.
Any ideas, do I need to put more speech marks in?
Darren
[EMAIL]null[/EMAIL]

_________________________
I want to share something with you - the three sentences that will get you through life.
Number 1, 'cover for me.'
Number 2, 'oh, good idea, boss.'
Number 3, 'it was like that when I got here'.