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