5 ms·
For those that don't know "start ." is the Windows version of "open .", opening Explorer in the current folder. Speaking of Windows, "pushd \\servername\sharen
by banana_giraffe 5y ago
For those that don't know "start ." is the Windows version of "open .", opening Explorer in the current folder.
Speaking of Windows, "pushd \\servername\sharename" is a simple way to mount a share in Windows, if you have the login creds cached, and set the new drive letter as your active drive. Useful if you need to bounce around a bunch of shares.
- samstave 5y agoAlso, "notepad FILENAME" will open the file in notepad... etc.
- manjana 5y agoAlso, "vim FILENAME", where Vim is an alias set in $PROFILE that point to the vim executeable.
- RealStickman_ 5y agoNote that you don't have to specify an alias for it, if the vim executable is located in your $PATH.
- dgfitz 5y agoOh, I always used: explorer.exe . I didn't know open was aliased to that.
- banana_giraffe 5y agoFor what it's worth: It's not "start" is an alias to "explorer", it's that "start" runs the args through "ShellExecute". I mention this only because it has some other uses. For instance, Windows apps can install run handlers so that something like Start->Run->Excel will launch Excel. Just running "excel" on a command prompt won't work, but "start excel" will work, since that kicks off the right path. You can also use something like "start /w filename.txt" to start an instance of your editor, and wait for it to close (well, mostly, some apps do weird things and break this)