home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
editors
/
hypsh40b.arj
/
HYPDEVEL.LZH
/
BROWSER.HSI
< prev
next >
Wrap
Text File
|
1991-04-24
|
1KB
|
67 lines
.REMARK
Demo frameset - browser
Copyright (c) 1989 N.G.Taylor
This is a sample directory browser
Select directories to move around.
Select text files to type them.
.
.MENU File
Directory |Y@d*.*
Change dir. |C@L*.
Browse dir. |SBrowse
Quit |Q
.
.REMARK
Add extension of file, followed by action to perform for that file.
The variable $< contains the full file name
The actions 'L' below are dummy actions for extensions for which
no action is required. Default action is to display the file as text.
Directories, .TXT and .BAT files are handled in the BROWSE script below.
Additional special cases can be added there as required.
.MENU extns
OBJ|L
LIB|L
DBF|L
SYS|L
EXE|Nexec
COM|Nexec
PIC|G$<
PCX|G$<
HYP|dHS $<
NTE|t$<
HSF|c$<
MNU|A@F$<
*|T$<
.
.REMARK
This is a menu of things which can be done to directories.
.MENU Directory
Change to|C$<
Show |DDIR/W $<
.
.REMARK
This is a menu for options on files with extension .TXT or .BAT
.MENU Text File
Type |T$<
Edit |dHN $<
.
.NOTE exec
An action could be
added to execute the
selected program.
.
.SCRIPT Browse
NBrowser
Lpd;Y@L*.*
jspd
J$>
A@Mextns[$>];Jpd
L
L.
A@Mdirectory;Jpd
LTXT
LBAT
LC
A@MText File;Jpd
.