G
Guest
where can i set default options for cmd.exe ?
i want to be able to tell cmd.exe to stop after completion of a command.
for instance, when i Start>Run>"some console command">[Enter], i want that
the command prompt remains open after "some command" completes.
i don't want to use <cmd /k "some command"> every time i run a console
command.
i'm looking for a <set shell parameter=/k> or something like that, or a
registry value to set.
btw, i had the inspiration of placing a "cmd.exe /k" in
hklm/software/microsoft/command processor/autorun, and guess what
(obviously), it loops when i run cmd.exe. the interesting thing, which
surprised me, was that it doesn't loop when i run a console program (like
ping or dir), so the autorun reg_sz value isn't querried when starting a
usual console application.
SO, HOW CAN I TELL THE COMMAND INTERPRETER TO KEEP A CONSOLE PROGRAM'S
WINDOW OPEN AFTER COMPLETION ????
i want to be able to tell cmd.exe to stop after completion of a command.
for instance, when i Start>Run>"some console command">[Enter], i want that
the command prompt remains open after "some command" completes.
i don't want to use <cmd /k "some command"> every time i run a console
command.
i'm looking for a <set shell parameter=/k> or something like that, or a
registry value to set.
btw, i had the inspiration of placing a "cmd.exe /k" in
hklm/software/microsoft/command processor/autorun, and guess what
(obviously), it loops when i run cmd.exe. the interesting thing, which
surprised me, was that it doesn't loop when i run a console program (like
ping or dir), so the autorun reg_sz value isn't querried when starting a
usual console application.
SO, HOW CAN I TELL THE COMMAND INTERPRETER TO KEEP A CONSOLE PROGRAM'S
WINDOW OPEN AFTER COMPLETION ????