I have a batch file set to load up when the Windows XP command line (cmd.exe) starts (using the registry key Command Processor as detailed).
Unexpectedly, the batch file only runs under certain conditions, based on how the command line is started.
If the command line is started from Start|All Programs|Accessories|Command Prompt
, the batch file runs.
If the command line is started from Start|Run|cmd
or Start|Run|cmd.exe
or via a ssh session through WinSSHD, the batch file does not run.
Is there a way to make the autorun work in all cases?