Win2K Dos vs. Win98 Dos
Tech-Archive recommends: Fix windows errors by optimizing your registry
I have used a batch file in Win98 computer to manipulate names of files
in a folder. Now I needed to use the same batch file in a Win2K
computer. It did not crash, but the program added a space character
before the true file names so that the ensuing program did not
recognized them properly. I suppose this happened because of differences
in the underlying DOS between Win2K and Win98. Can someone tell me how I
shall rewrite the batch file to make it work with Win2K DOS?
The commands used in the batch file are simple ones like COPY, DELETE,
RENAME, and FOR, which must work in the same way regardless of the DOS.
The batch file also uses LFNFOR ON or OFF. I suspect the last command
does not work well with Win2K DOS, or perhaps there might be replacement
for this for Win2K?
.
Relevant Pages
- Re: Win2K Dos vs. Win98 Dos
... I suppose this happened because of differences in the underlying DOS between Win2K and Win98. ... Can someone tell me how I shall rewrite the batch file to make it work with Win2K DOS? ... The commands used in the batch file are simple ones like COPY, DELETE, RENAME, and FOR, which must work in the same way regardless of the DOS. ... (microsoft.public.win2000.general) - Re: Printer startup script in XP
... printers were isntalled w/o a problem. ... >> Win2k server for Win2k clients, however when I attempt to run the startup ... >> script for WinXP clients I am unsuccessfull. ... >> Create a batch file containing lines of the following ... (microsoft.public.win2000.active_directory) - RE: Reading System Variable....
... the system date is not a system environment variable on WinXP and Win2k ... you can obtain it with the date /t command. ... "GeorgeSmith" wrote: ... > How to read the system date in a batch file? ... (microsoft.public.windows.server.general) - Printer Starup Script successfull for Win2k, but not for XP
... Win2k server for Win2k clients, however when I attempt to run the startup ... script for WinXP clients I am unsuccessfull. ... Create a batch file containing lines of the following ... (microsoft.public.windows.server.scripting) - Re: Short (DOS) names for paths in environment variables
... if %HOMEPATH% is "\Documents and Settings\pasco" ... then what yields "\DOCUME~1\PASCO"? ... I am not sure whether you need this to work under Win2k or XP. ... Put the call to your DOS program in a batch file ... (microsoft.public.win2000.cmdprompt.admin) |
|