Help for this page

Select Code to Download


  1. or download this
    @echo off
    
    ...
    echo    If no argument is supplied, displays the current dir.
    
    :Exit
    
  2. or download this
    mycd d:\
    
  3. or download this
    mycd "C:\Program Files"
    
  4. or download this
    # Start a shell in d:\
    cmd /k mycd d:\
    
  5. or download this
    # Start a command in d:\
    cmd /c mycd d:\ & mycommand args