df.tips
How to execute a command on a `cmd` startup?
Windows
cmd
,
windows
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"