Posted by pink on 22, 2001 at 6:51 PM:
In Reply to: Re: Here's how to easily make .NMS files !!!!!!!! posted by jarr_d on 22, 2001 at 5:49 PM:
i cant test it everywhere but on win2k you only get long names on a plain dir, but there is a switch to include both long and short at once
dir /x >text.txt
- pink.
: also, just using the dir command like "dir > text.txt" puts both the short & long names there.
: : when in windows, go to a dos prompt.
: : go to the rom directory of the files you want to make a .nms file for
: : type dir >one.txt and hit enter. this will create a file one.txt with all of the long dos names of the files.
: : then, reboot your machine in pure DOS (hit F8 in win95 to choose dos)
: : do the same thing as above - go to the directory with the roms, type dir >two.txt this will create a file with all of the SHORT dos file names.
: : then, use microsoft excel and edit the two files - isolate the long names to one column and isolate the short file names to another column (by importing as space delimited or fixed width - play with it to get it right
: : then use the excel command 'concatenate' like this
: : =concatenate(A1,B1,C1)
: : where in column A you have the long names, column B you put the character | and in column C you have the short names.
: : copy the new column over to another column and select 'paste special' and choose 'values'
: : delete all but this column and save it as a text file.
: : Enjoy.....