New-to-me Windows DOS commands that are equivalent to bash commands that I always use. Another in a long series.
- runas [1]
- Equivalent to sudo, allows one to run commands as a different user assuming one knows the password for that user
- pushd [2]
- Maps a network location as a volume
- popd [3]
- Drops that mapping
Use them in combination and you’ve got remote filesystem mapping from the CLI amongst other ways of doing work on remote machines without having to actually remote out to them. I’ve learned three things today. Can I take the rest of the week off?
[1] http://technet.microsoft.com/en-us/library/bb490994.aspx
[2] http://technet.microsoft.com/en-us/library/bb490978.aspx
[3] http://technet.microsoft.com/en-us/library/bb490969.aspx