Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for /f "delims=" %%x in ('chdir') do set "drive=%%x"
- %CD:~0,-1%
- for %%x in (%cd%) do @set drive=%%~dx
- set Drive=%cd:~0,2%
- c:documents and settingspax
- for /f "delims=" %d in ('cd') do set curdrv=%d
Add Comment
Please, Sign In to add comment