unix shell:
cd -(Change to previous directory)
for I in `seq 0 10`; do echo $I ; done(Good for generating SQL inserts etc)
windows cmd shell:
subst drive1: drive2:\longasspath(Alias a new drive letter to an existing path)
pushd path / popd( likecd -)
e.g.:pushd \server\share\a\b\c\d && cmdThatDoesn'tLikeUNCPaths && popd
echo %VAR:string1=string2%(replace string1 in VAR with string2)
echo %~dp0like basename $0 in unix
