热门排行
简介
一键即可确定xp下硬盘的最后的盘符,双击即可
[code]
@echo off
for %%i in (Z Y X W V U T S R Q P O N M L K J I H G F E D C) do (
if exist %%i:\nul (
for /f "tokens=3" %%j in ('dir /-c %%i:\') do set freesize=%%j
set last=%%i
if not "!freesize!"=="0" goto last_drive
)
)
goto :eof
:last_drive
echo 最后一个分区是 %last%
md %last%:\001
pause
[/code]