home *** CD-ROM | disk | FTP | other *** search
-
- ; $VER: ListMaker v2.1 (26/3/97)
- ; 1997 Erling Løken Andersen (PSyChO of Apathy)
- ; All rights reserved.
- ;
- ; Altered from version: ListMaker v1.4 (5/5/96)
- ; Thanks to HARALD KUHR. He made most of this program.
- ;
- ; NOTE: This program is Freeware.
- ; However, if you use it regulary, please let me know at this address:
- ;
- ; Erling Løken Andersen
- ; Fiskegt.14
- ; 1515 Moss
- ; Norway
- ;
- ; Thank you.
- ; Your support makes future editions possible.
-
- ; SET ECHO ON
-
- LAB INTRO
- RequestChoice >ENV:Intro "ListMaker v2.1" "*n ListMaker v2.1*n 19 © 97 Erling Løken Andersen*n*n*nDo you want me to make a textfile*ncontaining a list of all your files*non your harddisc?*n" " Off cor'ze! " " Info " " Nah... "
- IF $Intro EQ 1
-
- LAB BACK
- RequestFile >ENV:LMDir SYS: TITLE "Choose drawer to list:"
- IF $RC EQ 0
- ESR >ENV:LMPattern "~(#?.(bak|info|auts))" "Choose file-pattern:" MESSAGE "(#? for all files)"
- IF $RC NOT EQ 0
- SetEnv LMPattern "#?"
- Echo "I'm sorry, but you need the ESR-command*nto chose your own custom file-pattern.*n"
- EndIF
-
- RequestChoice >ENV:Comment "ListMaker v2.1" "*n Do you want comments??? *n" "Sure!" "Nah!"
- IF $Comment EQ 1
- List >T:LMList.tmp ~(#?.info|bak|auts) LFormat="%-30s %-35c %10l" all
- ELSE
- List >T:LMList.tmp ~(#?.info|bak|auts) LFormat="%-30s %10l" all
- EndIF
-
- RequestFile >ENV:LMFile RAM: FILE FileList.txt TITLE "Choose name and location:" SAVEMODE
- IF $RC EQ 0
- CD >ENV:LMCD
- CD $LMDir
- Echo Please wait...
- IF $Comment EQ 1
- List >T:LMList.tmp $LMPattern LFormat="%-30s %-35c %10l" ALL
- ELSE
- List >T:LMList.tmp $LMPattern LFormat="%-30s %10l" ALL
- EndIF
- ; List >T:LMList.tmp $LMPattern QUICK NOHEAD ALL
- CD $LMCD
- Sort T:LMList.tmp T:LMList.tmp
- Echo >T:LMTekst.tmp "This list was made with ListMaker v2.1"
- Echo >T:LMTekst1.tmp "19 © 97 Erling Løken Andersen*n"
- Echo >T:LMTekst2.tmp "Listing of" $LMDir "with the file-pattern" $LmPattern: "*n"
- Echo >T:LMTekst3.tmp "*n- End of list -"
- Join T:LMTekst.tmp T:LMTekst1.tmp T:LMTekst2.tmp T:LMList.tmp T:LMTekst3.tmp TO $LMFile
- Delete T:LMTekst.tmp T:LMTekst1.tmp T:LMList.tmp ENV:LMCD ENV:LMDir QUIET
- ; If you prefer another text-viewer
- ; you are can change the following line!!!
- PPmore $LMFile
- QUIT
- EndIF
- ELSE
- QUIT
- EndIF
- ELSE
- EndIF
- ELSE
-
- EndIF
-
-
- IF $Intro EQ 2
- RequestChoice >ENV:LMInfo "ListMaker v2.1" "*n ListMaker v2.1*n *n 19 © 97 Erling Løken Andersen*n *nThiz handy, little program tries*nto make a textfile containing a*nlist of all your files in the*nselected directory. The file*nwill placed in RAM: and will be*ncalled FileList.txt.*nDo you want to proceed?*n" " Yeah! " " Nah... "
- EndIF
-
- IF $LMInfo EQ 1
- SKIP INTRO BACK
-
-
- ; IF $ListMaker EQ 3
- ; ESR "$UserName" "Brukernavn" MESSAGE "Skriv inn nytt*nbrukernavn:" >ENV:UserName{$$}
- ; IF "$UserName{$$}" NOT EQ ""
- ; Delete ENV:UserName QUIET
- ; Rename ENV:UserName{$$} ENV:UserName
- ; EndIF
- ; EndIF
-
- ; IF $ListMaker EQ 3
- ; QUIT
-
- ELSE
- Echo Peebrain LAmEr!
-
- ENDIF
- QUIT
-