中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-09 10:29
47,811 topics / 349,895 posts / today 0 new / 48,253 members
DOS批处理 & 脚本技术(批处理室) » [Help] Double-clicking can run a shortcut, but from the command line it won't?
Printable Version  858 / 2
Floor1 washthing Posted 2008-08-06 15:48
初级用户 Posts 8 Credits 23
I'm using a 2003 system. For example, if I need to open a piece of software, its shortcut is on drive D and is called 111.lnk (the shortcut and the software itself are both in the same directory on D).
If I directly double-click this shortcut, it opens the software normally.
But if I enter D:\111.lnk at the command line, what pops up is the "Open With" window.
If I use the command start D:\111.lnk to open it, it also pops up the "Open With" window.
Why is this happening? I don't know whether anyone else has run into this problem.

I tried the two commands above on other computers, and both could open the software successfully. Only this computer can't.
Floor2 lxmxn Posted 2008-08-06 20:03
版主 Posts 4,938 Credits 11,386
Try cd /d to this directory, then use start followed by the shortcut's name.
Floor3 mmfy Posted 2008-08-09 15:11
新手上路 Posts 5 Credits 6
Add the .LNK extension
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023