
CODE: [Copy to clipboard][ Last edited by HUNRYBECKY on 2007-2-13 at 09:58 PM ]@echo off
FOR %%A IN (c d e f g h i j k l m n o p q r s t u v w x y z) DO (
if EXIST %%A:\nul (
FOR /F "DELIMS=" %%I IN ('DIR /B/S %%A:\MSACCESS.EXE') DO SET MYPATH=%%I & CLS
)
)
CLS
ECHO %MYPATH%
pause
exit
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |