1.

Solve : To extract Filename to a variable in a batch file?

Answer»

Can anyone help me to get a filename, EXISTING in a particular folder to a variable in a BATCH file?How are you selecting one file from the folder without knowing it's NAME? More INFORMATION on what you're trying to do would help...
I am having a similar problem - I want to extract a DIRECTORY name into a variable - I want the top directory listed using dir /A:D /B /O:-N - is this possible?I suggest you start your own thread to address what is a different issue.



Discussion

No Comment Found