回复 2# pcl_test
bat代码 用vbs来实现。我要把查询的东西插入到数据库里面。下面是bat :- @echo
- cd\
-
- echo %username% %computername% %date% %time% >> D:\userlist.txt
- FOR %%a IN (C: D: E: F: G: h:) DO cd /d %%a & for /r %%b in (autodesk*) do if exist "%%~b" echo %%b>>D:\%computername%.txt
-
- pause
复制代码
|