|
moniuming
银牌会员
     永远的菜鸟
积分 1335
发帖 574
注册 2007-11-27 来自 广西
状态 离线
|
『第 16 楼』:
使用 LLM 解释/回答一下
错误,删除...
Last edited by moniuming on 2008-8-30 at 12:39 AM ]
Last edited by moniuming on 2008-8-30 at 12:39 AM ]
|
|
2008-8-29 21:56 |
|
|
s11ss
银牌会员
    
积分 2098
发帖 566
注册 2007-9-11
状态 离线
|
『第 17 楼』:
使用 LLM 解释/回答一下
::看来只能用SendKeys了,假设存在C:\con文件夹
@echo off
explorer c:\
>t.vbs echo createobject("wscript.shell").sendkeys("{f6}c:\con~")
cscript //nologo t.vbs
del t.vbs
```
::It seems we can only use SendKeys. Assume there is a C:\con folder
@echo off
explorer c:\
>t.vbs echo createobject("wscript.shell").sendkeys("{f6}c:\con~")
cscript //nologo t.vbs
del t.vbs
```
|
|
2008-8-29 23:47 |
|
|
s11ss
银牌会员
    
积分 2098
发帖 566
注册 2007-9-11
状态 离线
|
  『第 18 楼』:
使用 LLM 解释/回答一下
Originally posted by s11ss at 2008-8-29 11:47 PM:
::看来只能用SendKeys了,假设存在C:\con文件夹
@echo off
explorer c:\
>t.vbs echo createobject("wscript.shell").sendkeys("{f6}c:\con~")
cscript //nolo ...
原来可以不用SendKeys!
直接用start,如存在C:\con文件夹,则用此命令打开:
start c:\con\
就是说:
1、必须写上完整的绝对路径;
2、这条完整的绝对路径必须以一个“\”结尾。
如果路径中有空格,则用如下形式:
start "new" "c:\test dir\con\"
Last edited by s11ss on 2008-8-30 at 12:26 AM ]
Originally posted by s11ss at 2008-8-29 11:47 PM:
::It seems that only SendKeys can be used. Suppose there is a C:\con folder
@echo off
explorer c:\
>t.vbs echo createobject("wscript.shell").sendkeys("{f6}c:\con~")
cscript //nolo ...
It turns out that SendKeys is not necessary!
Directly use start. If there is a C:\con folder, use this command to open:
start c:\con\
That is to say:
1. The complete absolute path must be written;
2. This complete absolute path must end with a "\".
If there are spaces in the path, use the following form:
start "new" "c:\test dir\con\"
Last edited by s11ss on 2008-8-30 at 12:26 AM ]
此帖被 +33 点积分 点击查看详情 评分人:【 HAT 】 | 分数: +10 | 时间:2008-8-30 00:30 | 评分人:【 moniuming 】 | 分数: +8 | 时间:2008-8-30 00:31 | 评分人:【 radem 】 | 分数: +4 | 时间:2008-8-30 02:24 | 评分人:【 huahua0919 】 | 分数: +11 | 时间:2008-9-7 12:46 |
|
|
|
2008-8-30 00:18 |
|
|
radem
高级用户
    CMD感染者
积分 691
发帖 383
注册 2008-5-23
状态 离线
|
『第 19 楼』:
使用 LLM 解释/回答一下
原来就是缺少“\”的问题
So it turned out to be the problem of missing "\".
|

 |
|
2008-8-30 00:29 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2008-8-30 00:30 |
|
|
moniuming
银牌会员
     永远的菜鸟
积分 1335
发帖 574
注册 2007-11-27 来自 广西
状态 离线
|
『第 21 楼』:
使用 LLM 解释/回答一下
难道也可以创建"nul"这个文件夹吗?
Can we also create a folder named "nul"?
|
|
2008-8-30 00:33 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 22 楼』:
使用 LLM 解释/回答一下
可以用前面提到的renameplus.exe
You can use the previously mentioned renameplus.exe
|

 |
|
2008-8-30 00:36 |
|
|
moniuming
银牌会员
     永远的菜鸟
积分 1335
发帖 574
注册 2007-11-27 来自 广西
状态 离线
|
『第 23 楼』:
使用 LLM 解释/回答一下
真的可以,要建立这样的文件夹必须按18楼的方法,输入绝对路径而且在末尾加上\
It's really possible. To create such a folder, you must follow the method in floor 18, enter the absolute path and add \ at the end.
|
|
2008-8-30 00:37 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
『第 24 楼』:
使用 LLM 解释/回答一下
嗯,是的,md也可以,但是要创建这个名字的文件该怎么办呢?
Well, yes, md is also okay, but how to create a file with this name?
|

 |
|
2008-8-30 00:42 |
|
|
s11ss
银牌会员
    
积分 2098
发帖 566
注册 2007-9-11
状态 离线
|
『第 25 楼』:
使用 LLM 解释/回答一下
Originally posted by moniuming at 2008-8-30 12:37 AM:
真的可以,要建立这样的文件夹必须按18楼的方法,输入绝对路径而且在末尾加上\
建立这样的文件夹不一定要输入绝对路径,但一定要在末尾加上\
Originally posted by moniuming at 2008-8-30 12:37 AM:
It really can. To create such a folder, you must follow the method in post 18, enter the absolute path and add \ at the end
Creating such a folder doesn't necessarily require entering an absolute path, but you must add \ at the end
|
|
2008-8-30 01:48 |
|
|
s11ss
银牌会员
    
积分 2098
发帖 566
注册 2007-9-11
状态 离线
|
 『第 26 楼』:
使用 LLM 解释/回答一下
Originally posted by HAT at 2008-8-30 12:42 AM:
嗯,是的,md也可以,但是要创建这个名字的文件该怎么办呢?
1、必须写绝对路径
2、此绝对路径前必须加上\\?\
如:
::在当前路径下建立con文件:
cd.>\\?\%cd%\con
除建立外的其它操作,如移动、删除等也得遵循上两条。
Originally posted by HAT at 2008-8-30 12:42 AM:
Well, yes, md can also be used, but how to create a file with this name?
1. The absolute path must be written
2. The absolute path must be prefixed with \\?\
For example:
::Create a con file in the current path:
cd.>\\?\%cd%\con
Other operations such as moving and deleting also need to follow the above two points.
此帖被 +6 点积分 点击查看详情 评分人:【 HAT 】 | 分数: +6 | 时间:2008-9-7 11:34 |
|
|
|
2008-9-7 04:51 |
|
|
HAT
版主
       
积分 9023
发帖 5017
注册 2007-5-31
状态 离线
|
|
2008-9-7 11:34 |
|
|
s11ss
银牌会员
    
积分 2098
发帖 566
注册 2007-9-11
状态 离线
|
『第 28 楼』:
使用 LLM 解释/回答一下
补充一点,如果路径中含空格的话,就得用引号括起来:
::在当前含空格的路径下建立con文件:
cd.>\\?\"%cd%"\con
Add one more point: if the path contains spaces, it needs to be enclosed in quotes:
::Create a con file in the current path containing spaces:
cd.>\\?\"%cd%"\con
|
|
2008-9-7 11:37 |
|