Guest User

Untitled

a guest
Jun 21st, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. for /f "delims=" %%x in ('chdir') do set "drive=%%x"
  2.  
  3. %CD:~0,-1%
  4.  
  5. for %%x in (%cd%) do @set drive=%%~dx
  6.  
  7. set Drive=%cd:~0,2%
  8.  
  9. c:documents and settingspax
  10.  
  11. for /f "delims=" %d in ('cd') do set curdrv=%d
Add Comment
Please, Sign In to add comment