China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-25 20:17
中国DOS联盟论坛 » 其它操作系统综合讨论区 » XP Command Prompt doesn't recognize folders with spaces? View 1,453 Replies 9
Original Poster Posted 2003-06-06 00:00 ·  中国 河南 洛阳 联通
初级用户
Credits 205
Posts 19
Joined 2003-06-06 00:00
23-year member
UID 3959
Gender Male
Status Offline
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?
Floor 2 Posted 2003-06-06 00:00 ·  中国 浙江 宁波 电信
高级用户
★★
S
Credits 778
Posts 223
Joined 2003-05-10 00:00
23-year member
UID 1974
Gender Male
Status Offline
start "d:\program files\internet explorer" try it.
Floor 3 Posted 2003-06-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
Yes, just add quotation marks and it'll work.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 4 Posted 2003-06-06 00:00 ·  中国 广东 广州 白云区 电信
初级用户
★★
首席挑刺官CXO
Credits 386
Posts 99
Joined 2003-05-27 00:00
23-year member
UID 2473
Gender Male
Status Offline
It probably won't work either way, try using the short filename
start d:\progra~1\intern~1
生命在于折腾
Floor 5 Posted 2003-06-06 00:00 ·  美国 肯塔基州 费耶特县 列克星敦 Charter_Communications
系统支持
★★★★★★
“新DOS时代”站长
Credits 27,736
Posts 10,521
Joined 2002-10-09 12:00
23-year member
UID 9
Status Offline
No, that shouldn't be the case. Both methods should work, that is, using either the short filename or the long filename in quotes.
Wengier - 新DOS时代

欢迎大家来到我的“新DOS时代”网站,里面有各类DOS软件和资料,地址:
http://wendos.mycool.net/

E-Mail & MSN: wengierwu AT hotmail.com (最近比较忙,有事请联系DOSroot和雨露,谢谢!)

Floor 6 Posted 2003-06-06 00:00 ·  中国 辽宁 大连 联通
初级用户
Credits 199
Posts 30
Joined 2003-05-22 00:00
23-year member
UID 2345
Gender Male
Status Offline
Or just go directly to drive d, where the folder is, and enter: cd d:\program files\internet explorer
Floor 7 Posted 2003-06-07 00:00 ·  中国 浙江 宁波 电信
高级用户
★★
S
Credits 778
Posts 223
Joined 2003-05-10 00:00
23-year member
UID 1974
Gender Male
Status Offline
Strange. start "d:\program files\internet explorer" doesn't work. Still only the 3.8 format works.
Floor 8 Posted 2003-06-07 00:00 ·  中国 河南 洛阳 联通
初级用户
Credits 205
Posts 19
Joined 2003-06-06 00:00
23-year member
UID 3959
Gender Male
Status Offline
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.
Floor 9 Posted 2003-06-07 00:00 ·  中国 香港
管理员
★★★★
專業島民
Credits 4,869
Posts 1,633
Joined 2002-12-10 00:00
23-year member
UID 465
Gender Male
Status Offline
"c:\program files\internet explorer\iexplore.exe"
This one works!! I tried it
我的網站:http://mw16.2ya.com/ 我的網誌: http://scrappedblog.blogspot.com/
~
我的Winamp正在播放的歌曲:
Floor 10 Posted 2003-06-08 00:00 ·  中国 河南 郑州 联通
初级用户
Credits 205
Posts 19
Joined 2003-06-06 00:00
23-year member
UID 3959
Gender Male
Status Offline
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.
Forum Jump: