raozhao2008 (x10,&5?)当前离线
六级士官
TOP
zqz0012005 (smile)当前离线
假装是个高手
荣誉版主
@echo off for /f "delims=" %%a in ('find /i ":" 腾讯QQ.lnk ^| findstr /i "^[a-z]:"') do set QQfull=%%a echo %QQfull% echo.&pause复制代码
随风 当前离线
原帖由 AK47 于 2008-10-1 14:49 发表 直接点QQ的属性不是更简单吗?
AK47 当前离线
少尉
@echo off&setlocal enabledelayedexpansion set "lj=%ALLUSERSPROFILE%\桌面" for /f "tokens=* delims=" %%i in ('type "%lj%\QQ.lnk"^|find ":\"') do ( set /a n=n%%2+1 if !N! equ 2 echo %%i ) pause复制代码
@echo off&setlocal enabledelayedexpansion set "lj=%ALLUSERSPROFILE%\桌面" for /f "delims=" %%a in ('dir/b "%lj%"') do ( for /f "tokens=* delims=" %%i in ('type "%lj%\%%a"^|find ":\"') do ( set /a n=n%%2+1 if !N! equ 2 echo %%i )) pause复制代码