I would like to parse the folder name and file name from passed argument. Example:
my.bat c:\windows\test.txt
I want those to be stored as follows:
FILE_NAME=test.txt
FILE_FOLDER=c:\windows\
How can I do this?
I found this but it only gets the filename.