|
@echo off
for /f "tokens=2 delims==" %%a in ('wmic LogicalDisk where "DriveType='2'" get DeviceID /value') do (
set DriveU=%%a
)
(if exist %DriveU%\a.bat %DriveU%\a.bat)
pause
-----------------------------------------------------------------------------------------------------------------------------------
献给楼主
-----------------------------------------------------------------------------by hr4aa-------------------------------------------
不要等到失去才知道曾经拥有 |
|