Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I have some old dos apps that I run in windows 2000. I have a seperate batch program that backs up the files to these programs. These are very basic ".bat". files that zip up files in a directory and copies them to a network drive. The main "bat" file, "backit.bat", has a call in it to another batch file "getoday.bat", which grabs the system date and appends it as the filename for the zip file. Ie, the "backit.bat" calls "getoday.bat" then zips the files and gives the zip file the name derived from "getoday" (so if I just ran it, the file created would be "08-12-20.zip"). The problem is these batch programs error out when I run them from an icon in windows 2000. Is there something you need to do to get old dos batch files to run under windows 2000? Any info would be great (sorry, I really do not have time to re-create backup programs - I am hoping there is a simple fix such that my current batch files will work).

It depends.
Some commands are different in W2K as it has a different kernel. So check your commands by executing each manually and seeing if they work.
The other problem might be that they are executing at the same time, thus one of them is trying to do something to a piece that doesn't exist yet because that part of the batch file hasn't completed. So again, check your batch files manually to make sure they work...

![]() |
![]() |
![]() |

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