Computing.Net > Forums > Disk Operating System > move command line script

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

move command line script

Reply to Message Icon

Name: Andy
Date: December 9, 2003 at 10:26:02 Pacific
OS: xp
CPU/Ram: gig
Comment:

I am having problems writing a move script. I want to move a single file to a different directory. Here is my script


move c:\program files\zai net software\zai net client 6.3\odbs\VaRRMReportData.txt c:\program files\zai net software

I am getting an error saying that the syntax is not correct. If I put in a different directory that has a shorter name it works fine. Any help is appreciated.



Sponsored Link
Ads by Google

Response Number 1
Name: IVO
Date: December 9, 2003 at 13:02:31 Pacific
Reply:

As the pathnames have embedded blanks you have to surround the origin and target with quotes ("), so

move "c:\program files\zai net software\zai net client 6.3\odbs\VaRRMReportData.txt" "c:\program files\zai net software"


0
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Disk Operating System Forum Home


Sponsored links

Ads by Google


Results for: move command line script

Command line entries for GHOST www.computing.net/answers/dos/command-line-entries-for-ghost/7715.html

Re-Command line/GUI www.computing.net/answers/dos/recommand-linegui/1685.html

DOS command line help needed www.computing.net/answers/dos/dos-command-line-help-needed/14756.html