- DOS Move command
- Posted by Steve Nielsen on February 10th, 2004
If you posted the command exactly as you entered it then the syntax
error is the extra spaces.
Instead of:
C:\>move c:\marc.txt , c:\mard.txt C:\filexfer
Use:
C:\>move c:\marc.txt,c:\mard.txt C:\filexfer
In the help line
filename1[,...]
it means filename1,filename2,filename3 etc. - i.e. no spaces; filenames
are separated only by commas.
The double spaces between parameters will also give syntax errors.
Steve
Beldar wrote:
- Posted by Phil Robyn [MVP] on February 10th, 2004
Steve Nielsen wrote:
Hi, Steve,
So did you actually *try* such a MOVE command and get it to work?
--
Phil Robyn
Univ. of California, Berkeley
u n z i p m y a d d r e s s t o s e n d e - m a i l
- Posted by Steve Nielsen on February 11th, 2004
Yeah, I just did and you're right. Nothing works with any combination of
comma and/or space seperators. Even specifying the full filespec doesn't
work.
Sorry.
Steve
Phil Robyn [MVP] wrote:
- Posted by Steve N. on February 12th, 2004
You know, I suddenly seem to recall (although somewhat vaguely) that the
MOVE command never worked right when specifying multiple filenames on
the command line. Always had to use wildcard filespecs to move more than
one file at a time.
Way to go, Microsoft! Thirty+ years later and they still haven't fixed
some of these things!
Steve
Steve Nielsen wrote: