|
原帖由 2011cew 于 2011-5-6 21:18 发表
Yes, thank you andos.
// Call Loop
new wincmd does not crash
original:
_SUB Loop
FORM DriveType=%AllDrive%
LSTR aStr=%AllDrive%,2
FIND $%aStr%=X:,!FIND $%DriveType%=DRIVE_CDRO ...
_SUB Loop
FORM DriveType=%AllDrive%
LSTR aStr=2,%AllDrive%
FIND $%aStr%=X:,!FIND $%DriveType%=DRIVE_CDROM,!ENVI RDrive=%RDrive%|%aStr%
MSTR AllDrive=4,0,%AllDrive%
STRL iLen=%AllDrive%
IFEX $%iLen%>0,CALL Loop!MSTR RDrive=2,0,%RDrive%
_END
FDRV AllDrive=
ENVI RDrive=
CALL Loop
MSTR MDrive=0,0,%RDrive%
LSTR MDrive=2,%MDrive%
ENVI lan=%EDIT1%
[ 本帖最后由 andos 于 2011-5-6 21:45 编辑 ] |
|