K
Ken Williams
Ok, I could setup a ShortCut to open a CmdPrompt and pass a command and automatically
execute it with the following instruction:
cmd.exe /k cd "%1"
But what if I want to write the command only into the current line of the opened CmDPrompt but don't want
to let it execute automatically? I want e.g. the user to give the possibility to change a switch of the command.
Is there a way to code this non-automatic command-passing?
Maybe there is a workaround like storing some commands in the history buffer of the current Cmdprompt
so that the user needs only the pree the PageUp button to get this command string?
In which registry key is the command history buffer stored?
Ken
execute it with the following instruction:
cmd.exe /k cd "%1"
But what if I want to write the command only into the current line of the opened CmDPrompt but don't want
to let it execute automatically? I want e.g. the user to give the possibility to change a switch of the command.
Is there a way to code this non-automatic command-passing?
Maybe there is a workaround like storing some commands in the history buffer of the current Cmdprompt
so that the user needs only the pree the PageUp button to get this command string?
In which registry key is the command history buffer stored?
Ken