Skip to content

lungger/batch-get-folder-name-on-path

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

batch-get-folder-name-on-path

this batch-script can get folder name from back to front on path

set Temp_path=%MAKEDIR%

%MAKEDIR% --what path you want to parsing

for /l %%i in (1,1,2) do call :GetFolder --(x,x,2) third parameter meaning which folder want to get

ex: c:/test1/test2/test3/test4/test5

%folder% = test4

If this is helpful to you, please don't be stingy to give stars

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published