Win2K Dos vs. Win98 Dos

  • Thread starter Thread starter Digitalwight
  • Start date Start date
D

Digitalwight

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?
 
Digitalwight said:
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?

There is *no* DOS in Windows 2000, although many DOS programs and many
DOS commands work they do not run on DOS. If you need help with the
batch file post it here and someone will "fly" by shortly and make
mincemeat of it in no time!

John
 
John said:
batch file post it here and someone will "fly" by shortly and make
mincemeat of it in no time!

You must mean that guy from down-under that I mentally (is there any
other way) think of as BAT-man.

:-)
 
Back
Top