I wrote a script that you can use to open the file explorer from command line like
e db
--> opens my Dropbox folder (e.cmd
is the name of the script)
e bin
--> opens my script folder
(I’m not very happy with the way I define the relationship mnemonic <--> folder.)
Remarks, anyone?
@ECHO OFF
SET "target=%~1"
if "%target%" EQU "" (
ECHO No target specified.
EXIT /B
)
SET folder=""
CALL :set_folder_%target% 2> nul
if %folder% EQU "" (
ECHO Invalid target %target%.
EXIT /B
)
explorer %folder%
EXIT /B
:set_folder_db
SET folder="D:\Alex\Dropbox" & EXIT /B
:set_folder_bin
SET folder="D:\Alex\Scripts\Bin" & EXIT /B
...