home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.barnyard.co.uk
/
2015.02.ftp.barnyard.co.uk.tar
/
ftp.barnyard.co.uk
/
cpm
/
walnut-creek-CDROM
/
BEEHIVE
/
ZCAT
/
ALIAS-1.LBR
/
VF-WP.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
2000-06-30
|
3KB
|
50 lines
WORD and TEXT Management CMD file Sample
ROOT:xdir %d%u:*.* ogoh'Options (u=all areas, p=to printer, d=to disk): '
%d%u:;BASE:nw %f
1 %d%u:;BASE:nw %f;ROOT:if %f=z.?0?;ROOT:ac BACKUP:=%f /a;fi
a%u:;era %u:errwords.txt;spell %d:%f $slic;review;if ex %u:errwords.txt;markfix %d:%f $m#;%d:;nw %f;else;%d:;fi
2 %d%u:;era vspell.mis;vs %f;if ex vspell.mis;era vspell.mis;era BASE:vspell.bak;BASE:nw %f;fi
3 a%u:;cleanup %d:%f $m#;%d:;BASE:nw %f
4 a%u:;phrase %d:%f passive.txt;%d:;BASE:nw %f
5 ROOT:ldr LETTERS:sys-3.ndr;LETTERS:;ROOT:vmenu *.* writing.vmn;%h:
CAT:catscan 'Define File Search Mask (e.g. *.doc): '
6 ROOT:vtype %$
7 MAIL:;ROOT:setfile 1 t3.mnu;ROOT:menu t3.mnu
8 DIMS:;BASE:mb dims;%d%u:
9 if ex %d%u:%n.lbr;%d%u:;BASE:nulu -o %n -f;%h:;else;ROOT:sak /p2 library file cannot be found;fi
0 echo are you sure (y/n)? ;if in;%d%u:;BASE:lzed %$;fi
c!ROOT:crc %$
l if %t=lbr;%d%u:;ROOT:llf %n;%h:;else;sak /p2 file not library;fi
n %d%u:;ROOT:nulu -o %f -f;%h:
p protect %$ "Protect Attribute (r=r/o,a=archive,s=sys,1..8): "
!%d%u:;if xn crunch;crunch %f;else;echo;if xn squeeze;sq %f;fi;fi;%h:
s!%d%u:;echo squeeze (y) or crunch (n) file? ;if in;sq %f;else;crunch %f;fi;%h:
u!%d%u:;if %t=?q?;usq %f;else;if %t=?z?;uncr %f;else;echo not compressed file ;fi;fi;fi;%h:
v ROOT:;vtype %$
w %d%u:;wordfreq %f;sak strike any key;ROOT:vtype %n.frq;era %n.frq;%h:
x!%d%u:;%n;%h:
z!%d%u:;%n "Command Tail: ";%h:
#
Aliases Available
GH - Get Help
GS - Get Spelling
SEE - See COMMAND.LBR
>>> WORD PROCESSING, DATABASE and COMMUNICATIONS Menu <<<
-----------------------------------------------------------------------------
1 - Edit/Print Pointer File (Newword) <esc> Alias (BALIAS) - A
2 - Spelling Check and Correction (VSPELL) CRC of File (CRC) - C
3 - Punctuation and Grammar Check (CLEANUP) List Files in LBR File - L
4 - Style Check (PHRASE) Enter Library File (NULU) - N
5 - Writer's Workbench (VMENU) Protect File (PROT) - P
6 - Scan Pointed-to Text File (VTYPE) Compress File (Sq/Crunch) - S
7 - Telecommunicate (Term3) Uncompress File (Unsq/Uncr) - U
8 - Database Management System (MB/DIMS) View File (VTYPE) - V
9 - Enter Pointed-to Library (NULU) Word Frequency (WORDFREQ) - W
0 - Edit Pointer File (LZED) Run File with Tail - Z
-----------------------------------------------------------------------------
Run File with Tail - Z
-----------------------------------------------------------------------------