Shortcut key doesn't work for CMD/COMMAND

M

Mike McWhinney

Hello,

I have Windows XP Home (Service Pack 1) on this PC. I have set up on
my desktop a shortcut to COMMAND.COM
(D:\WINDOWS\system32\command.com).
The shortcut I have used is Ctrl + Alt + D. When I set up the
shortcut, then try pressing Ctrl+Alt+D, nothing happens. This behavior
was different under Windows NT 4.0 Workstation, where the same key
sequence would call the shortcut. I have noticed that if I already
have the COMMAND.COM window open (not necessarily active), then I
press Ctrl+Alt+D, it will bring focus to the MS-DOS Prompt. Is there
a way that a non-running instance of MS-DOS Prompt can be init'ed by a
shortcut keypress?

Thanks.
Mike McWhinney
 
D

Dave Patrick

Try instead;

%comspec% /k command.com

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Hello,
|
| I have Windows XP Home (Service Pack 1) on this PC. I have set up on
| my desktop a shortcut to COMMAND.COM
| (D:\WINDOWS\system32\command.com).
| The shortcut I have used is Ctrl + Alt + D. When I set up the
| shortcut, then try pressing Ctrl+Alt+D, nothing happens. This behavior
| was different under Windows NT 4.0 Workstation, where the same key
| sequence would call the shortcut. I have noticed that if I already
| have the COMMAND.COM window open (not necessarily active), then I
| press Ctrl+Alt+D, it will bring focus to the MS-DOS Prompt. Is there
| a way that a non-running instance of MS-DOS Prompt can be init'ed by a
| shortcut keypress?
|
| Thanks.
| Mike McWhinney
 
A

Alex Nichol

Mike said:
I have Windows XP Home (Service Pack 1) on this PC. I have set up on
my desktop a shortcut to COMMAND.COM
(D:\WINDOWS\system32\command.com).
The shortcut I have used is Ctrl + Alt + D. When I set up the
shortcut, then try pressing Ctrl+Alt+D, nothing happens. This behavior
was different under Windows NT 4.0 Workstation, where the same key
sequence would call the shortcut.

Hotkeys are no longer supported for DOS shortcuts (.PIF files, pointing
to things like Command.com, which is a DOS program) - only for .LNK
files pointing to Windows programs (like CMD.exe which is the 32 bit
command processor that you should normally be using)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top