中国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-25 21:33
47,812 topics / 349,910 posts / today 0 new / 48,264 members
其它操作系统综合讨论区 » XP Command Prompt doesn't recognize folders with spaces?
Printable Version  1,454 / 9
Floor1 萍客 Posted 2003-06-06 00:00
初级用户 Posts 19 Credits 205
I'm using the command prompt under XP, and it seems it doesn't recognize long folder names with spaces.
For example, if I enter start d:\program files\internet explorer it gives an error.
Is it because of a pirated copy, or is it just like that by default?
Floor2 李小龙 Posted 2003-06-06 00:00
高级用户 Posts 223 Credits 778
start "d:\program files\internet explorer" try it.
Floor3 Wengier Posted 2003-06-06 00:00
系统支持 Posts 10,521 Credits 27,736
Yes, just add quotation marks and it'll work.
Floor4 wins Posted 2003-06-06 00:00
初级用户 Posts 99 Credits 386
It probably won't work either way, try using the short filename
start d:\progra~1\intern~1
Floor5 Wengier Posted 2003-06-06 00:00
系统支持 Posts 10,521 Credits 27,736
No, that shouldn't be the case. Both methods should work, that is, using either the short filename or the long filename in quotes.
Floor6 nico Posted 2003-06-06 00:00
初级用户 Posts 30 Credits 199
Or just go directly to drive d, where the folder is, and enter: cd d:\program files\internet explorer
Floor7 李小龙 Posted 2003-06-07 00:00
高级用户 Posts 223 Credits 778
Strange. start "d:\program files\internet explorer" doesn't work. Still only the 3.8 format works.
Floor8 萍客 Posted 2003-06-07 00:00
初级用户 Posts 19 Credits 205
Actually what I want is to open iexplorer.exe in this folder. I've already tried the short filename, and it works, but it still can't call IE.
Floor9 Roy Posted 2003-06-07 00:00
管理员 Posts 1,633 Credits 4,869
"c:\program files\internet explorer\iexplore.exe"
This one works!! I tried it
Floor10 萍客 Posted 2003-06-08 00:00
初级用户 Posts 19 Credits 205
Yes. I made a mistake that was neither advanced nor low-level. I thought IE's program name was iexplorer, but in fact it's iexplore. Looks like making assumptions just doesn't work.
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023