Yzöwl Posted January 15, 2006 Posted January 15, 2006 My previous response was simply an improvement to jdoes code, not a complete answer.Here however is my solution@echo offfor %%? in ("%~dp0..") do set parent=%%~f?echo/%parent% is your parent directorygoto :eof
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now