Advertisement
JoshuaB

MiniCMD

Aug 17th, 2011
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.21 KB | None | 0 0
  1. @echo off
  2. title MiniCMD
  3. echo MiniCMD
  4. :start
  5. echo.
  6.  
  7. rem save cwdir to a variable
  8. for /f %%i in ('cd') do set CWDIR=%%i
  9.  
  10. rem set the printout before the command
  11. set /P PRELUDE=%CWDIR% $ %=%
  12. %PRELUDE%
  13. goto start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement