Originally posted by jgty727 at 2005-8-14 10:11 PM:
现在网站的速度好慢呀,以前的名字也进不了,不知道怎么回事?
想问个问题:写一个.bat的硬盘搜索程序该怎么做呢?
比方说机子里有qq.exe,� ...
不 慢 呀 ﹐ 我 從 香 港 進 來 也 很 快 ﹐ 可 能 你 附 近 有 人 正 常 傳 送 甚 麼 DVD 的 ISO 檔 吧 <img src="images/smilies/face-laugh.png" align="absmiddle" border="0">
最 簡 單 的 搜 索 應 該 是 用 dir 吧 ﹐ 例 如 :
1) cd \ (若 你 不 知 在 哪 ﹐ 就 從 根 目 錄 開 始 )
3) dir /s qq.exe (若 知 道 在 dos 的 子 目 錄 下 ﹐ 可 以 用 dir c:\dos\qq.exe)
若 知 道 大 約 在 甚 麼 地 方 ﹐ 可 進 入 或 指 明 副 目 錄 如 dir c:\dos /s ﹐ 較 省 時
寫 成 bat 就 是:
@echo off
dir /s %1
Last edited by johnsonlam on 2005-8-15 at 09:55 ]
Originally posted by jgty727 at 2005-8-14 10:11 PM:
The speed of the current website is so slow. I can't access the previous name. I don't know what's going on?
I want to ask a question: How to write a.bat hard disk search program?
For example, there is qq.exe in the computer...
It's not slow. I come in from Hong Kong and it's very fast. Maybe someone near you is normally transferring some DVD ISO files :):)
The simplest search should be using dir. For example:
1) cd \ (If you don't know where it is, start from the root directory)
3) dir /s qq.exe (If you know it's in the dos subdirectory, you can use dir c:\dos\qq.exe)
If you know approximately where it is, you can enter or specify the subdirectory, such as dir c:\dos /s, which is more time-saving.
To write it into a bat:
@echo off
dir /s %1
Last edited by johnsonlam on 2005-8-15 at 09:55 ]