W
William Hymen
Hi all,
I have a batch file which will
input a full path name with:
set /p Folder_Path="Enter the full path and folder"
The user will then paste in something like:
d:\root_folder\second\third\fourth\final -or-
d:\root_folder\second\third\final
d:\root_folder\second\final
I would like to parse the foldername "final"
and place it into variable TARGET, and I'm not sure
how to use tokens and delims to get the very
last string after the final "/"
Thanks in advance-
Bill
I have a batch file which will
input a full path name with:
set /p Folder_Path="Enter the full path and folder"
The user will then paste in something like:
d:\root_folder\second\third\fourth\final -or-
d:\root_folder\second\third\final
d:\root_folder\second\final
I would like to parse the foldername "final"
and place it into variable TARGET, and I'm not sure
how to use tokens and delims to get the very
last string after the final "/"
Thanks in advance-
Bill