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