|
DOS批处理 & 脚本技术(批处理室)
Moderators: lxmxn、HAT
|
|
View digest
14,900 threads / 596 pages
|
| Subject |
Author |
Replies / Views |
Last post |
|
[原创]CMD下初探System Volume Information文件夹(Windows XP Pro sp2)
|
lxmxn |
12 / 483 |
2007-07-02 01:24 shanliang8008 |
|
[Attachment]
Please clarify the specific requirements for the VBS code. For now, here is a simple example of a VBS script to traverse drives and find the 11.exe file (this is a basic framework, you can adjust it according to actual needs):
```vbscript
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set colDrives = objFSO.Drives
For Each objDrive in colDrives
If objDrive.DriveType = 3 Then 'Only process fixed drives
strDrive = objDrive.Path
strSearch = strDrive & "11.exe"
If objFSO.FileExists(strSearch) Then
WScript.Echo "Found 11.exe at: " & strSearch
End If
End If
Next
```
Please note that this is a simple search logic. It just traverses fixed drives and checks for the existence of 11.exe directly in the root directory. If you need more complex search functions (like searching recursively in subdirectories), it needs to be further extended.
|
anqing |
28 / 2,933 |
2007-07-02 00:38 linnk |
|
for如何用管道命令作分隔符?
|
26933062 |
2 / 912 |
2007-07-01 22:43 26933062 |
|
求一个自动建立隐藏帐户的批处理
|
270265929 |
7 / 774 |
2007-07-01 22:32 6622186 |
|
(已解决)此批处理如何实现输入中间带0的数字不被忽略..
|
richercdw |
13 / 1,057 |
2007-07-01 19:39 richercdw |
|
求助:用sed命令提高执行效率
|
wbshu |
7 / 1,221 |
2007-07-01 17:02 wbshu |
|
如何在()命令中用ECHO正确显示()符号?? 已解决!
|
sgw888 |
3 / 889 |
2007-07-01 16:53 sgw888 |
|
[原创]发布3款软件
|
bbis |
14 / 1,257 |
2007-07-01 16:31 jashonx |
|
有没有给SYS文件加密的防止反汇编的小工具`。
|
kkapskok |
2 / 991 |
2007-07-01 14:48 kkapskok |
|
请教一个批处理文件读取ini文件的问题
|
slam |
3 / 891 |
2007-07-01 14:11 lxmxn |
|
dos批处理运行所需文件不一定要放在systerm32下!
|
ednykissyou |
5 / 1,018 |
2007-07-01 12:52 BWSkyer |
|
请问如何优化代码
|
hackerflysky |
3 / 930 |
2007-07-01 10:49 zh159 |
|
批处理for循环(急,请高手帮忙!)
|
Miracle |
8 / 1,388 |
2007-07-01 10:47 oilio |
|
求将CMD加密的批处理
|
wewe12 |
3 / 1,052 |
2007-07-01 10:02 lzwqdbr |
|
批处理加密工具
|
lzwqdbr |
1 / 865 |
2007-07-01 09:03 slore |
|
关于set的高级用法寻求帮助!
|
jellord |
11 / 1,035 |
2007-07-01 06:08 hackerflysky |
|
这个批处理为什么不会出现死循环
|
hackerflysky |
2 / 836 |
2007-07-01 05:45 hackerflysky |
|
[求助]困惑: 延迟变量:cmd和批处理执行结果不一样
|
blogsss |
11 / 1,251 |
2007-07-01 02:42 qinbuer |
|
[Attachment]
. 关闭指定进程并 删除对应的程序,如何??
|
ooaf |
6 / 1,247 |
2007-07-01 00:36 qinbuer |
|
VBS的能否检测文件是否存在?
|
heicai |
12 / 1,429 |
2007-06-30 23:41 estar |
|
如何在DOS下搜索网卡驱动??
|
mynxlwb |
0 / 758 |
2007-06-30 22:56 mynxlwb |
|
ftp批处理有没有错误返回码?
|
broodwu |
2 / 591 |
2007-06-30 22:19 vkill |
|
[Attachment]
请教一个关于VBS编辑器的问题
|
swlove |
3 / 992 |
2007-06-30 21:03 slore |
|
DOS批处理实现自动FTP功能-有些不明,请指教!
|
lovehack2006 |
12 / 1,261 |
2007-06-30 20:20 sonicandy |
|
[Help] String Interception Problem in For Result Set, Definitely Give Points!
|
blogsss |
16 / 2,307 |
2007-06-30 15:04 qinbuer |
|
Prev
1 …
430 431 432 433 434 435 436
… 596
Next
|