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.
Problems running batch file with xcopy command
Name: MRothfuss Date: February 8, 2001 at 09:04:14 Pacific
Comment:
I am using a batch file in Win95 to back up a folder onto a zip drive. Whenever the batch file runs I receive an "Incorrect DOS Version" error. The batch file is written as follows:
c: cd\ cd mydocu~1 xcopy *.* e: /s /e /v /y exit
I believe the problem may be with the xcopy command. Any help would be appreciated.
Name: World Library Date: February 8, 2001 at 12:48:06 Pacific
Reply:
Try cls @echo off xcopy C:\mydocu~1\*.* E:\mydocs /s/e/v/y :end cls
You should also have a xcopy32.exe in windows\command.
Example xcopy: cls @echo off rem first two back up rem third restores xcopy %windir%\*.dat c:\register /h /i /r /y xcopy %windir%\*.ini c:\register /h /i /r /y xcopy c:\register %windir% /h /r /y
c:\windows\command\xcopy32 c:\*.* d: /h /c /e /k
0
Response Number 2
Name: Ayexby Date: February 8, 2001 at 14:23:20 Pacific
Reply:
If you're getting incorrect Dos version error, I would check for old versions of xcopy having gotten accidentally copied onto a directory in your system's path. Another possibility is that there is a copy of xcopy.exe in the current directory when your batch file operates, since the current directory is always searched before the search path.
Summary: Ok..been trying all the things I know and alot of examples from this forum, but I can't seem to "hack" it enough to get what I need. I wrote a simple batch file with 4 commands to set time on a Win200...
Summary: I'm having problems using the AT command in dos prompt. After scheduling a task, everytime the AT task scheduler tries to execute the command, it errors. This is what I typed in dos... at 19:00 /inter...