Category : Files from Magazines
Archive   : VOL10N16.ZIP
Filename : DIRANY.BAT

 
Output of file : DIRANY.BAT contained in archive : VOL10N16.ZIP
@ECHO OFF
IF '%1'=='' GOTO syntax
SET N=
CALL GETLEN %1
SET temp=%1*.*
IF %N%==8 GOTO doit
SET temp=%temp% ?%1*.*
IF %N%==7 GOTO doit
SET temp=%temp% ??%1*.*
IF %N%==6 GOTO doit
SET temp=%temp% ???%1*.*
IF %N%==5 GOTO doit
SET temp=%temp% ????%1*.*
IF %N%==4 GOTO doit
SET temp=%temp% ?????%1*.* *.%1*
IF %N%==3 GOTO doit
SET temp=%temp% ??????%1*.* *.?%1*
IF %N%==2 GOTO doit
SET temp=%temp% ???????%1.* *.??%1
:doit
FOR %%f IN (%temp%) DO ECHO %%f
SET temp=
SET N=
GOTO end
:syntax
ECHO DIRANY lists files whose names _contain_ a certain string.
ECHO Syntax: "DIRANY string n"
ECHO where "string" is a string of 1 to 8 characters (no wildcards)
ECHO and "n" is the length of that string.
:end


  3 Responses to “Category : Files from Magazines
Archive   : VOL10N16.ZIP
Filename : DIRANY.BAT

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/