|
itsky8
初级用户
 
积分 20
发帖 6
注册 2007-12-7
状态 离线
|
『楼 主』:
[已结]DOS空格用什么代替呢?
使用 LLM 解释/回答一下
为何在Batch中,用mkdir创建my folder是不允许的呢? 不可以有空格的,哪么一定要创建文件夹带有空格的,要加什么在中间呢? e.g. mkdir c:\my folder, 改成 mkdir c:\my%folder,这样好像不行哩? 到底要放什么呢?
Last edited by HAT on 2008-10-27 at 13:21 ]
Why is it not allowed to use mkdir to create my folder in Batch? Spaces are not allowed. Then, if you must create a folder with a space, what should be added in the middle? For example, mkdir c:\my folder, changing it to mkdir c:\my%folder doesn't seem to work. What exactly should be placed?
Last edited by HAT on 2008-10-27 at 13:21 ]
|
|
2007-12-9 02:14 |
|
|
lxmxn
版主
       
积分 11386
发帖 4938
注册 2006-7-23
状态 离线
|
『第 2 楼』:
使用 LLM 解释/回答一下
两边加英文的双引号。
mkdir "c:\my folder"
Add double quotes in English on both sides.
mkdir "c:\my folder"
|
|
2007-12-9 04:07 |
|
|
longrun1978
新手上路

积分 2
发帖 1
注册 2007-12-10
状态 离线
|
|
2007-12-10 11:22 |
|
|
uouobb
初级用户
 
积分 82
发帖 37
注册 2007-12-15
状态 离线
|
|
2007-12-15 14:43 |
|
|
fastslz
铂金会员
       DOS一根葱
积分 5493
发帖 2315
注册 2006-5-1 来自 上海
状态 离线
|
『第 5 楼』:
使用 LLM 解释/回答一下
Originally posted by uouobb at 2007-12-15 14:43:
还有别的方法吗??
??
问的好,看看盖茨能否通融下
Originally posted by uouobb at 2007-12-16 14:43:
Any other methods??
??
Good question, let's see if Gates can make a concession
|

第一高手 第二高手
我的小站
 |
|
2007-12-15 15:22 |
|
|
ymqq2003
新手上路

积分 18
发帖 23
注册 2008-10-27
状态 离线
|
『第 6 楼』:
使用 LLM 解释/回答一下
net share ud$="C:\Documents and Settings\Administrator\桌面"不能执行,为什么?
Why can't the command `net share ud$="C:\Documents and Settings\Administrator\桌面"` be executed?
|
|
2008-10-27 13:17 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 7 楼』:
使用 LLM 解释/回答一下
C:\WINDOWS\system32>net share ud$="C:\Documents and Settings\Administrator\桌面"
ud$ 共享成功。
C:\WINDOWS\system32>net share ud$="C:\Documents and Settings\Administrator\桌面"
The share ud$ was successful.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-10-27 13:20 |
|
|
ymqq2003
新手上路

积分 18
发帖 23
注册 2008-10-27
状态 离线
|
『第 8 楼』:
使用 LLM 解释/回答一下
我在批处理文件中无法执行?
I can't execute in the batch file?
Wait, no, the correct translation should be: I can't execute in the batch file? No, that's not right. Let's do it again.
The correct translation is: I can't execute within the batch file? No, that's wrong. Wait, let's start over.
The user's input is "我在批处理文件中无法执行?" The correct English translation is "I can't execute within the batch file?" But that doesn't seem right. Wait, maybe I made a mistake. Let's do it properly.
"I can't execute within the batch file?" No, that's not correct. Wait, the correct translation is "I am unable to execute within the batch file?" Yes, that's better.
I am unable to execute within the batch file?
|
|
2008-10-27 13:21 |
|
|
yishanju
银牌会员
     [b]看你妹啊[/b]
积分 1488
发帖 1357
注册 2006-5-20
状态 离线
|
『第 9 楼』:
使用 LLM 解释/回答一下
你在批处理最后面加个PAUSE
然后运行看是什么提示,发上来看看
方便的话把代码贴上来看看
Add a PAUSE at the end of the batch, then run it and see what the prompt is, and post it here. If convenient, paste the code here.
|

有问题请发论坛或者自行搜索,再短消息问我的统统是SB |
|
2008-10-27 13:27 |
|
|
LoveSpring
新手上路

积分 1
发帖 1
注册 2008-10-27
状态 离线
|
|
2008-10-27 15:23 |
|