;EXPORT v4.60 detailed structure file ;Created at 12:51:51 on Friday 22 August, 1997 ;from C:\LAUNCH\M_STRUCT.D00 #MENU Main Menu SHORTCUT=Ctrl+Home XPOS=8 YPOS=7 MAXHEIGHT=11 MENUITEMS= #DIVIDER #LINK ^Shared utility menu SHORTCUT=Alt+U AUTHORITY=10 XPOS=40 YPOS=10 DRVPATH=C:\LAUNCH\MENUS\ NUMBER=04 AUTOLINK=Y #ENDLINK #OPTION Copy Launch for a ^friend COMMANDS= [RadioButtons(d,"Select drive to copy to:", "A:"="A:\", "B:"="B:\")] copy *.* %d% ###ENDCOMMANDS### HELP= The whole idea of shareware is to get as many people as possible evaluating the software. With this ideal in mind, I encourage you to copy the SHAREWARE version of Launch (identified in the About screen as such) for your friends. You must include all files that originally came with Launch. ###ENDHELP### #ENDOPTION #OPTION ^To do list COMMANDS= [MustExist("C:\Netscape\Naplayer.exe")] C: CD\Netscape Naplayer.exe ###ENDCOMMANDS### #ENDOPTION #MENU Bull^etin board XPOS=27 YPOS=10 HELP= The bulletin board allows you to leave messages for other users. Only supervisors can add text to the bulletin board, all others users can only read it. ###ENDHELP### MENUITEMS= #DIVIDER #OPTION ^View messages PauseAfterExec=Y COMMANDS= if exist messages.txt goto show echo ** No messages to show ** goto end :show more < messages.txt :end ###ENDCOMMANDS### HELP= Shows you the contents of the bulletin board. ###ENDHELP### #ENDOPTION #OPTION ^Modify messages COMMANDS= if not exist messages.txt copy nul > messages.txt %TextEditor% messages.txt ###ENDCOMMANDS### HELP= Allows you to add or delete text from the bulletin board. ###ENDHELP### #ENDOPTION #ENDMENU (Bulletin board) #MENU Launch d^ocumentation XPOS=22 YPOS=8 HELP= This menu contains a menu item for each of Launch's documentation files. You can choose whether to print or just view each one. ###ENDHELP### MENUITEMS= #DIVIDER #OPTION ^Corporat.doc Custom modifications COMMANDS= [RadioButtons(option,"~Corporat.Doc", "Display on screen"="more < corporat.doc", "Send to printer"="copy corporat.doc prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Desc.sdi One line description COMMANDS= [RadioButtons(option,"~Desc.Sdi", "Display on screen"="more < desc.sdi", "Send to printer"="copy desc.sdi prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Files.doc Files included COMMANDS= [RadioButtons(option,"~Files.Doc", "Display on screen"="more < files.doc", "Send to printer"="copy files.doc prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION File_id.di^z Short description COMMANDS= [RadioButtons(option,"~File_id.Diz", "Display on screen"="more < file_id.diz", "Send to printer"="copy file_id.diz prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Licence.doc End user licence COMMANDS= [RadioButtons(option,"~Licence.Doc", "Display on screen"="more < licence.doc", "Send to printer"="copy licence.doc prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Order.txt Order form COMMANDS= [RadioButtons(option,"~Order.Txt", "Display on screen"="more < order.txt", "Send to printer"="copy order.txt prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Readme.doc Revision history COMMANDS= [RadioButtons(option,"~Readme.Doc", "Display on screen"="more < readme.doc", "Send to printer"="copy readme.doc prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Sys_help.txt System help file COMMANDS= [RadioButtons(option,"~Sys_help.txt", "Display on screen"="more < Sys_help.txt", "Send to printer"="copy Sys_help.txt prn")] %option% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Vendor.doc Disk vendors/distributors COMMANDS= [RadioButtons(option,"~Vendor.Doc", "Display on screen"="more < vendor.doc", "Send to printer"="copy vendor.doc prn")] %option% ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Launch documentation) #MENU Menu ^structure utilities XPOS=20 YPOS=7 HELP= These programs allow Launch's data file to be manipulated. Convert Launch's data to a text file, edit it in BEdit or your favourite editor, and then convert it back. ###ENDHELP### MENUITEMS= #DIVIDER #OPTION ^View usage log PauseAfterExec=Y COMMANDS= if ".%LogFile%." == ".." goto no_file more < %LogFile% goto end :no_file echo LogFile=nothing in LAUNCH.INI - no usage tracking information :end ###ENDCOMMANDS### #ENDOPTION #DIVIDER Export #OPTION ^Display structure tree COMMANDS= export /2 | more ###ENDCOMMANDS### HELP= This option displays the Launch menu as a tree, just like directories on a hard disk can be shown as a tree. ###ENDHELP### #ENDOPTION #OPTION Show ex^port usage screen PauseAfterExec=Y COMMANDS= cls export /? ###ENDCOMMANDS### #ENDOPTION #OPTION ^Export PauseAfterExec=Y COMMANDS= [RadioButtons(params=0,"~Output type", "Detailed output"="/1", "Structure tree"="/2") RadioButtons(f,"~Overwrite existing files", "Yes - overwrite"="F", "No - halt if present"="")] export %params%%f% ###ENDCOMMANDS### HELP= Inexperienced users of Export can use this option to specify any command-line parameters. ###ENDHELP### #ENDOPTION #OPTION Export [para^meters] PauseAfterExec=Y COMMANDS= [EditField(params[30]=".\00 /1f","~Parameters","Export parameters")] export %params% ###ENDCOMMANDS### HELP= Experienced users of Export can use this option to provide parameters to Export. ###ENDHELP### #ENDOPTION #DIVIDER Import #OPTION Show impo^rt usage screen PauseAfterExec=Y COMMANDS= cls import /? ###ENDCOMMANDS### #ENDOPTION #OPTION ^Import COMMANDS= [RadioButtons(f,"~Force overwriting?", "Yes - overwrite"="/f", "No - halt if present"="")] import .\0 %f% ###ENDCOMMANDS### #ENDOPTION #OPTION Import [p^arameters] PauseAfterExec=Y COMMANDS= [EditField(f[30]=".\00 /f","~Parameters ?","Import parameters")] import %f% ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Menu structure utilities) #MENU ^DOS Commands SHORTCUT=Ctrl+D XPOS=26 YPOS=6 MAXHEIGHT=17 HELP= This menu contains menu DOS commands with a convenient, user-friendly Launch wrapper around them, so you don't have to know the name of the command or how to tell it what to do - Launch takes care of all the details. The command name is shown in round brackets after the title. This is so that if you desire, you can learn a little bit about how to use DOS. ###ENDHELP### MENUITEMS= #DIVIDER #OPTION ^Run DOS Command SHORTCUT=Ctrl+O COMMANDS= [EditField(params,"~Command to execute","DOS command")] %params% ###ENDCOMMANDS### HELP= This option takes the name of a program to be run. ###ENDHELP### #ENDOPTION #OPTION D^OS Shell SHORTCUT=Alt+O COMMANDS= set _prompt=%prompt% set prompt=Type EXIT [Enter] to return to Launch$_%prompt% %COMSPEC% set prompt=%_prompt% set _prompt= ###ENDCOMMANDS### HELP= This option provides you with a command shell to enter commands into. When you have finished entering commands, type exit [Enter] to return to Launch. ###ENDHELP### #ENDOPTION #DIVIDER #OPTION DOS ^Help (help) SHORTCUT=Alt+H COMMANDS= [EditField(topic[30],"~Help topic (blank for index)","Help topic")] help %topic% ###ENDCOMMANDS### HELP= This option displays DOS help for the item you enter. Leave the topic blank to display an index. ###ENDHELP### #ENDOPTION #OPTION ^BatchEdit [file] SHORTCUT=Alt+B COMMANDS= [EditField(file,"~Text file to edit","Edit file")] BEdit %file% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Edit [file] SHORTCUT=Alt+E COMMANDS= [EditField(file,"~Text file to edit","Edit file")] edit %file% ###ENDCOMMANDS### #ENDOPTION #OPTION In^voke screen saver SHORTCUT=Alt+S COMMANDS= if "%ScreenSaver%" == "" goto problem %ScreenSaver% goto end :problem echo Error! No screen saver defined pause :end ###ENDCOMMANDS### #ENDOPTION #DIVIDER #OPTION ^Virus scan (msav) SHORTCUT=Alt+V COMMANDS= msav ###ENDCOMMANDS### #ENDOPTION #MENU ^File commands XPOS=46 YPOS=9 MENUITEMS= #DIVIDER #OPTION File ^Attributes (attrib) COMMANDS= [EditField(filespec="%current_dir%*.*","~Change attributes of files","Files") RadioButtons(R=1,"~Read/only attribute", "Turn off "="-R", "Leave unchanged"="", "Turn on "="+R") RadioButtons(A=1,"~Archive attribute", "Turn off "="-A", "Leave unchanged"="", "Turn on "="+A") RadioButtons(S=1,"~System attribute", "Turn off "="-S", "Leave unchanged"="", "Turn on "="+S") RadioButtons(H=1,"~Hidden attribute", "Turn off "="-H", "Leave unchanged"="", "Turn on "="+H")] attrib %R% %A% %S% %H% %filespec% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Copy file(s) (copy) COMMANDS= [EditField(filespec="%current_dir%*.*","~File specification","Files") EditField(dest="a:\","~Destination path","Path") verify("Copy %filespec% to %dest%?")] COPY %filespec% %dest% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Delete file(s) (del) COMMANDS= [EditField(params,"~File(s) to delete","Files") verify("Delete %params% ?")] del %params% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Find file (dir) PauseAfterExec=Y COMMANDS= [EditField(name="%current_dir[1..3]%*.doc","~File(s) to find", "Locate file")] echo Searching for %name% ... dir %name% /s | more ###ENDCOMMANDS### #ENDOPTION #OPTION ^Rename file (ren) COMMANDS= [EditField(oldname,"~Old file name","Old name") EditField(newname,"~New file name","New name") verify("%oldname% -> %newname%")] REN %oldname% %newname% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Undelete file(s) (undelete) COMMANDS= [EditField(filespec="%current_dir%*.*","~File(s) to undelete" ,"Undelete")] undelete %filespec% ###ENDCOMMANDS### #ENDOPTION #OPTION Co^mpare files (fc) COMMANDS= [EditField(f1="%current_dir%*.*","~File #1","Compare") EditField(f2="%current_dir%*.*","~File #2","Compare")] fc %f1% %f2% > tmp$$$ type tmp$$$ | find /i "fc: no differences encountered" > diffe$$$ if exist notsame$ del notsame$ copy diffe$$$ notsame$ > nul if not exist notsame$ echo Files %f1% and %f2% are different if exist notsame$ echo Files %f1% and %f2% are identical if exist tmp$$$ del tmp$$$ if exist notsame$ del notsame$ if exist diffe$$$ del diffe$$$ ###ENDCOMMANDS### HELP= Compares two files, and tells you if they are identical. ###ENDHELP### #ENDOPTION #OPTION ^View file (type) COMMANDS= [EditField(params,"~File to view","Show file")] more < %params% ###ENDCOMMANDS### #ENDOPTION #ENDMENU (File commands) #MENU Di^rectory commands XPOS=32 YPOS=10 MENUITEMS= #DIVIDER #OPTION ^Add directory to PATH COMMANDS= [EditField(add_dir,"~Directory to add to path","Add path")] rem By Prof. Timo Salmi, ts@chyde.uwasa.fi, 21-Oct-90. Modified for Launch if "%add_dir%"=="" goto _out2 rem Check that the directory exists if not exist %add_dir%\nul if not exist %add_dir%nul goto _err1 set tmp_=%path% rem Check that not already at path, first make uppercase path=%add_dir% set upcase_=%path% path=%tmp_% set double_=false for %%f in (%path%) do if "%upcase_%"=="%%f" set double_=true for %%f in (%path%) do if "%upcase_%"=="%%f\" set double_=true for %%f in (%path%) do if "%upcase_%\"=="%%f" set double_=true if "%double_%"=="true" goto _err2 rem Add the directory to the path path=%tmp_%;%add_dir% goto _out :_err1 echo Directory %add_dir% does not exist, not added goto _out :_err2 echo Directory %add_dir% already in path, not added :_out path :_out2 set tmp_= set double_= set upcase_= ###ENDCOMMANDS### HELP= Note: Will not work under 4DOS or DR-DOS. Only applies to the current shell (ie does not change the path permanently. Does not allow CD-ROM directories, non-existant directories or directories that are already in the path. If you get an "Out of environment space" message, increase your environment space by using the shell configuration in config.sys: MsDos 3.30 example: shell=c:\bin\command.com /e:1024 /p ###ENDHELP### #ENDOPTION #OPTION ^Edit DOS path COMMANDS= [EditField(P="%PATH%","~Edit DOS path")] set PATH=%P% ###ENDCOMMANDS### HELP= Edits the current value of the DOS path. The path environment variable tells DOS where to look for programs. ###ENDHELP### #ENDOPTION #DIVIDER #OPTION Directory ^contents (dir) PauseAfterExec=Y COMMANDS= [EditField(d="%current_dir%*.*","~Show contents of directory","Dir")] dir %d% /p ###ENDCOMMANDS### #ENDOPTION #OPTION ^Make directory (mkdir) COMMANDS= [EditField(params[40]="dirname","~Directory to make","Path") verify("%params% ?")] MD %params% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Remove directory (rmdir) COMMANDS= [EditField(params[40]="dirname","~Directory to remove","Path") verify("%params% ?")] RD %params% ###ENDCOMMANDS### #ENDOPTION #OPTION Remove ^tree (deltree) COMMANDS= [EditField(params="eg C:\GAMES","~Tree to remove","deltree")] deltree %params% ###ENDCOMMANDS### #ENDOPTION #OPTION Show ^directory tree (tree) PauseAfterExec=Y COMMANDS= [CommandButtons(drive,"Directory tree of drive", " C: "="C", " D: "="D") CheckBoxes(pause,"~Paginate output", " | more", "")] tree %drive%:\ %pause% ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Directory commands) #MENU Dis^k commands XPOS=32 YPOS=10 MENUITEMS= #DIVIDER #OPTION ^Check disk for errors (scandisk) COMMANDS= [RadioButtons(drive=2,"~Drive to check for errors", "A:"="A:", "B:"="B:", "C:"="C:", "D:"="D:")] scandisk %drive% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Duplicate disk (diskcopy) COMMANDS= [CommandButtons(source,"Source drive"," A: "="A"," B: "="B") CommandButtons(dest,"Destination drive"," A: "="A"," B: "="B")] DISKCOPY %source%: %dest%: ###ENDCOMMANDS### #ENDOPTION #OPTION ^Format disk (format) COMMANDS= [CommandButtons(drive,"Floppy drive to format?"," A: "="A"," B: "="B") RadioButtons(ftype,"~%drive%: Density?", "360K or 720K "="/4", "1.2M or 1.44M"="")] FORMAT %drive%: %ftype% ###ENDCOMMANDS### #ENDOPTION #OPTION Disk ^label (label) COMMANDS= [RadioButtons(drive,"~Disk to label", " A: "="A", " B: "="B", " C: "="C", " D: "="D")] label %drive%: ###ENDCOMMANDS### #ENDOPTION #OPTION ^Unformat disk (unformat) COMMANDS= [CommandButtons(drive,"Unformat disk"," A: "="A"," B: "="B")] unformat %drive%: ###ENDCOMMANDS### #ENDOPTION #OPTION ^Partition disk (fdisk) COMMANDS= [verify("Use with caution! Easily destroys hard disk!")] fdisk ###ENDCOMMANDS### #ENDOPTION #OPTION Unfra^gment disk (defrag) COMMANDS= [CommandButtons(drive,"Drive to unfragment"," C: "="C"," D: "="D")] defrag %drive%: ###ENDCOMMANDS### #ENDOPTION #OPTION Check disk for ^errors (chkdsk) PauseAfterExec=Y COMMANDS= [CommandButtons(drive,"Drive to check"," C: "="C"," D: "="D") RadioButtons(fixup,"~Fix errors", "Recover lost chains "="/f", "Don't fix lost chains"="")] chkdsk %drive%: %fixup% ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Disk commands) #MENU ^Show... XPOS=32 YPOS=10 MENUITEMS= #DIVIDER #OPTION ^Previous DOS screen SHORTCUT=Alt+F5 COMMANDS= pause > nul ###ENDCOMMANDS### #ENDOPTION #OPTION Programs in ^memory (mem) PauseAfterExec=Y COMMANDS= [CheckBoxes( page,"~Paginate output","/page", classify,"~Classify programs","/c")] mem %classify% %page% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Environment variables (set) PauseAfterExec=Y COMMANDS= SET ###ENDCOMMANDS### #ENDOPTION #OPTION ^DOS version (ver) PauseAfterExec=Y COMMANDS= VER ###ENDCOMMANDS### #ENDOPTION #OPTION ^Version information (setver) PauseAfterExec=Y COMMANDS= setver ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Show...) #OPTION QBasic ^programming language COMMANDS= qbasic ###ENDCOMMANDS### #ENDOPTION #MENU Syste^m settings XPOS=31 YPOS=9 MENUITEMS= #DIVIDER #OPTION ^Reboot computer COMMANDS= [RadioButtons(b=0,"~Reboot type", "Warm start (same as [Ctrl+Alt+Del])"="/w", "Cold start (same as reset button) "="/c") Verify("Are you sure?")] reboot %b% ###ENDCOMMANDS### #ENDOPTION #OPTION ^Install SBRK COMMANDS= [Verify("Are you sure?")] sbrk ###ENDCOMMANDS### HELP= This program allows you to completely disable both [Ctrl+C] and [Ctrl+Break]. These keys are usually used to break out of batch files. If you wish, you can load SBRK.EXE in your Autoexec.Bat file or at the start of the Launch batch file. Note that there is no way of disabling or removing SBRK once it has been loaded. ###ENDHELP### #ENDOPTION #MENU Change Dos ^Prompt C:\> XPOS=35 YPOS=16 MENUITEMS= #DIVIDER #OPTION ^Edit current DOS prompt COMMANDS= [EditField(p="%PROMPT%","~Edit the current DOS prompt")] set PROMPT=%P% ###ENDCOMMANDS### #ENDOPTION #DIVIDER Set to... #OPTION ^Current drive and directory COMMANDS= prompt $p$g ###ENDCOMMANDS### #ENDOPTION #OPTION ^Date, time, version, drive, directory COMMANDS= prompt $_$d $t$_$v$_$p$_$q$g ###ENDCOMMANDS### #ENDOPTION #ENDMENU (Change Dos Prompt C:\>) #DIVIDER Date and time #OPTION Change ^Date (date) COMMANDS= DATE ###ENDCOMMANDS### #ENDOPTION #OPTION Change ^Time (time) COMMANDS= TIME ###ENDCOMMANDS### #ENDOPTION #DIVIDER Configuration files #OPTION Edit ^Autoexec.Bat COMMANDS= %TextEditor% c:\Autoexec.Bat ###ENDCOMMANDS### #ENDOPTION #OPTION Edit ^Config.Sys COMMANDS= %TextEditor% c:\Config.Sys ###ENDCOMMANDS### #ENDOPTION #OPTION Edit ^System.Ini COMMANDS= %TextEditor% c:\windows\system.ini ###ENDCOMMANDS### #ENDOPTION #OPTION Edit ^Win.Ini COMMANDS= %TextEditor% c:\windows\win.ini ###ENDCOMMANDS### #ENDOPTION #ENDMENU (System settings) #ENDMENU (DOS Commands) #ENDMENU (Main Menu)