G
Guest
I am trying to write a batch file which will copy a set of files into
different subdirectories based on the first four characters of the file name,
e.g. I have a set of 200 files with the same type of file name - a six digit
number followed by a numbered extension. If the file name is 123456.1 it
should be copied into the 123400 directory; 567890.1 should be copied into
the 567800 directory. Is there a DOS command that is the equivalent of the
STR command in Visual Basic?
Thanks!
different subdirectories based on the first four characters of the file name,
e.g. I have a set of 200 files with the same type of file name - a six digit
number followed by a numbered extension. If the file name is 123456.1 it
should be copied into the 123400 directory; 567890.1 should be copied into
the 567800 directory. Is there a DOS command that is the equivalent of the
STR command in Visual Basic?
Thanks!