df.tips
How to execute a command on a `cmd` startup?
Windows
cmd
,
windows
,
command-line
dmitrii_fediuk
(Dmitrii Fediuk)
May 1, 2023, 10:50pm
1
How to set the window title for `cmd` via a startup parameter?
dmitrii_fediuk
(Dmitrii Fediuk)
May 1, 2023, 10:50pm
2
Pass the command via the
/k
startup parameter
, e.g.:
cmd.exe /s /k "pushd ""%V"" & title cmd"