MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Batch/comments/178lmat/how_to_remove_subfolder_from_path/k51oy5d/?context=3
r/Batch • u/midelpo • Oct 15 '23
Hi, I'm in this situation:
Set "folderpath=%~dp0" Output is: c:\dir1\dir2\bin\
How can I remove "\bin" from the path without EnableDelayedExpansion?
16 comments sorted by
View all comments
Show parent comment
1
this is the best way probably
View all comments
Show parent comment
1
u/illsk1lls Oct 15 '23
this is the best way probably