Win2K Dos vs. Win98 Dos

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?
 
J

John John

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
 
S

Sid Elbow

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.

:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top