- Create this C:\AUTOEXEC.BAT
cmd /c "%PLAY%Beatles - Yellow Submarine.mp3"
VLC.lnk %cd%
starts playing in the cur dir.
(and easy)
-
turned ON
"Beatles - Yellow Submarine.mp3"
-
turned OFF
explorer "Beatles - Yellow Submarine.mp3"
explorer
works much likeopen
on Mac andxdg-open
on GNU/Linux.
To change Default Programs use assoc
and ftype
.
Since any SET statement in C:\AUTOEXEC.BAT are parsed at boot time and since other than setting environment variables is ignored
AUTOEXEC.bat define environment variables global to all users
HKEY_CURRENT_USER\Software\Microsoft\Command Processor\AutoRun with %USERPROFILE%\bin\env.cmd
set "
displays undocumented system variables.
doskey dirall=dir /a: $1
dir all files.
aliases https://stackoverflow.com/questions/20530996/aliases-in-windows-command-prompt