Ŀ
                         GR Utils Version 2.02                        


GR Utils is a set of disk managment utilities for DOS.  All programs can
be run from the MS-DOS prompt, and some are called from the core program
FSYS2.

FSYS2 File Managment System...........................................1
FSYS2CFG.EXE   Configuration program for FSYS2........................2
FSYS2.EXE      FSYS2 file managment system............................3

BIGERASE.EXE   Erase files & directory structure......................5
CHANGEDI.EXE   Change Directory From Tree Listing.....................5
DIRSPACE.EXE   Show Bytes Used In Directories.........................6
DISKTREE.EXE   Displays Disk Tree (Sorted)............................6
ERASEALL.EXE   Erases all files matching given filespecs..............7
FILESORT.EXE   Sorts ASCII files......................................7
FILEVIEW.EXE   Views ASCII files......................................8
FINDFILE.EXE   Finds file matching given filespecs....................9
FINDREPL.EXE   Find & Replace text in ASCII files.....................9
REMOVDIR.EXE   Removes all empty directories.........................10
STARTUP.EXE    Allows multiple AUTOEXEC.BAT & CONFIG.SYS files.......11

FSYS2 Overview

FSYS  2  is  the  core  of GR Utils 2 and is a 2 window  file  managment
system.   Each  window can read up to 2,500 files and can be  sorted  in
various  fashions.   You  can move from file to  file,  from  window  to
window, by single keystrokes.

FSYS  2  allows  you  to Copy files and directories,  delete  files  and
directories,  set file attributes, rename files, view text and  archived
files, edit text files, work with tagged files, create archives, extract
from archives, issue MS-DOS commands,
make  new  directories, as well as other features.  FSYS  2.02  ideally,
should be run in 43 line mode, or even 50. 25 lines can be used, but can
only display about 9 files in the file box window.

Know Problems

As  this  is  a  2 window system, when using the copy, archive  extract,
archive  create and MS-DOS command functions, you can use the  constants
1: and 2: for the respective windows, ie Window 1 is in C:\DOS, Window 2
in  on C:\WINDOWS.  You could say under an MS-DOS command, COPY *.DLL 2:
is  the  same as COPY *.DLL C:\WINDOWS (backslashes are put in by FSYS2,
ie 2:FRED.DLL would be treated as C:\WINDOWS\FRED.DLL)

In   some   cases,   ie   Mapping   under   Novell   Netware,   ie   MAP
D:=IT2:DATA\PROGS, the 1: and 2: are wrongly adjusted when using the MS-
DOS  command functions.  This must be done under a command prompt as the
full line will read MAP D:=ITC:\WINDOWS\DATA\PROGS.

In some cases, removing the floppy drive while one of the paths is on  a
floppy disk drive, this may cause unpredictable results.

A  VGA  colour  monitor is required.  FSYS2 will not work in  monochrome
mode.   If the VGA text mode screen memory does not start at B800,  then
sometimes the screen updating may not work.

Temporary  files must not be deleted from the temporary  directory  when
using FSYS2.
                           
Ŀ
                          FSYS2 Configuration                         


To  configure FSYS 2.02, run the program FSYS2CFG.EXE.  It will  present
you with the main screen.  These are the explanations of the fields that
can  be  edited.  Field with an arrow on the side indicate more  than  1
choice  in that field.  Click on the arrow to reveal the choices or  use
the up/down arrow keys to change the option.  To move from one field  to
another, use the TAB or SHIFT TAB keys.

Path To Dos Files      Full Path to where the MS-DOS files are stored
                       (usually C:\DOS).

Path To GR Utils II    Full Path to where the rest of the GRUTILS 2
                       files are stored.

Editor File Name       Full Path and Name of your usual text editor

Archiver Details       The Name Of The Archiver(PKZIP 2.04g)

Extension Used         The Extension the archiver produces (ZIP)

Full Path To Files     The full path to the archiver files

Command Line, Add      The command line to add files to the archive
                       This must include [arc_file_name] & [filespec]
                       (PKZIP -a [arc_file_name] [filespec])

Command Line, View     The command line to view files in the archive
                       This must include [arc_file_name]
                       (PKZIP -v [arc_file_name])

Command  Line,  Unarc  The command line to  extract  files  from  the
                       archive.  This must include [arc_file_name]
                       (PKUNZIP [arc_file_name] *.*)

No Of Screen Lines     Available Options are 25, 43 and 50

Tag  All  Method       Available Options are Files or Directories & Files

Delete Action          1 prompt for file deletion or 2 prompts

Default Sort Type      Name+Extn, Extn+Name, Date, Size, As On Disk

Sort Order             Acsending Or Descending

Xcopy Actions          Bare  Display (Shows Directory Names Only).  Full
                       Display as if you had issued the XCOPY command at
                       the DOS prompt.

Path For Window #1, #2 Path To Start With In Windows 1 and 2

Path For Temp Files    Path for storing temporary files in.
                       
                       Moving Around in FSYS2

Both  windows in FSYS2 can have different paths. To move from one window
to  another, you can use the left/right arrow keys or the Tab/Shift  Tab
keys. When you have changed window, the path for this window becomes the
current drive and directory.  The Active window will have a much thicker
border than the inactive window.

To  move  from  file  to  file, you can use the  Up/Down  arrows  ,  the
PgUp/PgDn  and Home/End keys.  If you wish to work with a  selection  of
files,   then  pressing  the  T  key  will  Tag  or  UnTag  the  current
file/directory.  A tagged file is a diffent colour to the normal colours
for  displaying files.  If you wish to Tag All Files, then pressing  the
F9  key will tag all the files (and directories if you configured  FSYS2
to  include  directories as well). Pressing the F10 key will  untag  all
files. The currently selected file is highlighted a different colour  to
the rest of the files.

These keys only apply when there are files in the active window

A  -  Set  Attributes.   This works on a single file  or  tagged  files.
Simply  key in or delete the text for the attributes.  These  can  be  a
combination  of R-Read Only, H-Hidden, S-System, A-Archive.   This  will
also work with directories.

C  -  Copy  Files/Directories.  These work on tagged files and a  single
file.   Files  are copied from the active window to the destination  you
specify.  If you include a file name in the destination then you  cannot
include  directories in the files to copy. If a sub directory is  to  be
copied,  then the DOS program XCOPY is used to copy the directory.  When
specifying  the  destination, you can use the constants  1:  and  2:  to
represent the paths in Windows 1 & 2, ie Window 1 is in D:\PROGRAMS then
1: will be D:\PROGRAMS (backslashes are put in by FSYS2).

Delete  -  Deletes Files.  This works on a single file or tagged  files.
If a directory is to be deleted, then BIGERASE.EXE is used to delete the
directory structure.

E  -  Edit  the current highlighted text file using the editor  of  your
choice.

T - Tag/UnTag the current File.

F9 - Tag All Files.

F10 - Untag All Files.

V  -  View the current highlighted text file using the GRUTILS  II  File
Viewer FILEVIEW.EXE.
or view the contents of an archive file.

U  -  Extract (Un-Zip) the currently highlighted archive file.  You must
have configured the archiver in the configuration program first.

Z  -  Create Archive (Zip-Up).  This will allow you to create an archive
file  from  the  files  you  have tagged or by  entering  a  given  file
specification.
These keys are available at all times

D  -  Select New Drive.  The active window will read the files  for  the
newly selected drive.

K  -  Show keys used in FSYS 2.02.  The file viewer FILEVIEW.EXE is used
to load up FSYSKEYS.TXT.

M - Enter MS-DOS command.  Leave the command blank to run COMMAND.COM or
type  in  a valid MS-DOS command.  When specifying the command, you  can
use the constants 1: and 2: to represent the paths in Windows 1 & 2,  ie
Window 1 is in D:\PROGRAMS then 1: will be D:\PROGRAMS (backslashes  are
put in by FSYS2).

N  - Make New Directory.  The directory will be created from the current
directory
in the active window.

P  -  Enter New Path.  You are then asked to key in a new path  for  the
active window.

Q  -  Quits  FSYS 2.02.  When returning to the DOS prompt.  The  current
path will be the path in the active window.

S  -  Change Sort Order.  You can sort by name and extension,  extension
and name, date and time, file size, or show the files as they appear  on
the disk.  You then select ascending or descending order.

F1 - View the text help file.

F2 - Configure FSYS 2.02

F3  -  Display  Disk Tree of current path.  The directory  can  then  be
changed by scrolling up and down the directory tree

F5  -  Re-Reads both directories. Needed if you are working with  floppy
disks.

F6  - Disk Space Used.  Shows the total files and disk space used in the
current directory and all sub directories.
                BIGERASE.EXE (Erase Directory Structures)

Usage               BIGERASE /Y [/R] [/43] [/50] [drive:] [path:]

Big  Erase  will delete all files and sub-directories from  a  specified
drive  and path.  If no drive or path is passed, then the current  drive
and path is assumed to be the tree to delete.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/Y                  You  must  pass this parameter to confirm  that  you
                    wish  to  run  this program.  This stops  accidental
                    massive data loss.
/R                  Read-only files will be deleted.
/A                  Assumes  that  you wish to delete all directorys  on
                    the selecteddrive. (The default directory is the one
                    you start from).

drive:              The drive that you wish to delete the directory tree
                    from.
path:               The  directory that you wish the deletion  to  start
                    from.

Example  -  BIGERASE C:\PROGRAMS /Y /R will delete  the  files  and  sub
directories in the C:\PROGRAMS directory.  Read-only files will also  be
deleted.

Example  -  BIGERASE  /Y will delete non read-only  files  and  all  sub
directories starting at the current drive and path.

Example  -  BIGERASE C: /Y /A will attempt to delete all files  and  sub
directories on drive C:.

                       CHANGEDI (Change Directory)

Usage               CHANGEDI [/A] [/43] [/50] [drive:] [path:]

Change  Directory will display a sorted directory tree, starting at  the
current  directory,  or from a given drive and path.   This  program  is
similar to DOS's TREE command, but sorts the directory structure  before
displaying the tree.  Once the tree has been displayed, you can select a
new  directory by scrolling up and down the tree.  (Up/Down,  PgUp/PgDn,
Home/End & Enter)  Escape will exit the program.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/A                  Assumes  that you wish to display all directorys  on
                    the  selected drive. (The default directory  is  the
                    one you start from).

drive:               The  drive that you wish to display  the  directory
list from.
path:                The directory that you wish the directory  tree  to
start from.

Example - CHANGEDI C:\ will display all directories, starting at C:\

Example - CHANGEDI D:\UTILITIES /A will display all directories on drive
D: (even though \UTILITIES was passed).
                     DIRSPACE.EXE (Directory Space)

Usage               DIRSPACE [/A] [/X] [/P] [/43] [/50] [drive:] [path:]

Directory  Space will display a sorted directory tree, starting  at  the
current  directory,  or from a given drive and path.   This  program  is
similar to DOS's TREE command, but sorts the directory structure  before
displaying  the  tree.  The space used in ALL files is displayed  beside
each directory.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/X                  Do not display directory count (if piping to another
device).
/P                  Pause after each page (do not use if using /X).
/A                  Assumes  that you wish to display all directorys  on
                    the  selected drive. (The default directory  is  the
                    one you start from).

drive:               The  drive that you wish to display  the  directory
list from.
path:                The directory that you wish the directory  tree  to
start from.

Example - DIRSPACE C:\ will display all directories, starting at C:\

Example  -  DIRSPACE D:\UTILITIES /A /X will display all directories  on
drive  D: (even though \UTILITIES was passed).  The /X will not  display
the directory count on the screen.

Example  - DIRSPACE C: will display all sub-directories from the current
directory on drive C:

                      DISKTREE.EXE (Directory Tree)

Usage               DISKTREE [/A] [/X] [/P] [/43] [/50] [drive:] [path:]

Disk  Tree will display a sorted directory tree, starting at the current
directory,  or from a given drive and path.  This program is similar  to
DOS's  TREE command, but sorts the directory structure before displaying
the tree.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/X                  Do not display directory count (if piping to another
device).
/P                  Pause after each page (do not use if using /X).
/A                  Assumes  that you wish to display all directorys  on
                    the  selected drive. (The default directory  is  the
                    one you start from).

drive:               The  drive that you wish to display  the  directory
list from.
path:                The directory that you wish the directory  tree  to
start from.

Example - DISKTREE C:\ will display all directories, starting at C:\

Example  -  DISKTREE D:\UTILITIES /A /X will display all directories  on
drive  D: (even though \UTILITIES was passed).  The /X will not  display
the directory count on the screen.

Example  - DISKTREE C: will display all sub-directories from the current
directory on drive C:
                       ERASEALL.EXE (Erase Files)

Usage                ERASEALL /Y [/P] [/A] [/43] [/50] [drive:]  [path:]
"Spec1"  ["Spec2"]

Erase All will delete files, matching the specifications given in Spec1.
More than 1 file specification can be given. *.*, .., . cannot be passed
as  a  file specification.  If you want to delete all files from a  hard
disk, format it instead.  All sub-directories from where you specify are
searched.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/Y                  You  must  pass this parameter to confirm  that  you
                    wish  to  run  this program.  This stops  accidental
                    massive data loss.
/A                  Assumes that you wish to scan all directories on the
                    selected  drive. (The default directory is  the  one
                    you start from).
/P                  Pause after each page.

drive:              The drive that you wish to start the deletion from.
path:               The  directory that you wish the deletion  to  start
                    from.

Spec1               Filespec  to find (in quotes), more than  1  can  be
                    used,  ie *.BAK or *.TMP.  They must be enclosed  in
                    quotes  or  they are assumed to be a valid directory
                    name,  and  this  will result  in  the  program  not
                    working.

Example - ERASEALL C:\PROGRAMS /Y "*.BAK" "*.TMP" will delete files that
match *.BAK and *.TMP, starting at the C:\PROGRAMS directory.

Example  -  ERASEALL "*.DOC" /Y will delete all *.DOC files starting  at
the current drive and path.

Example - ERASEALL F: /Y "*.*" will not work.

                     FILESORT.EXE (Sort ASCII Files)

Usage               FILESORT inputfile [outputfile] [/R]

File  Sort will allow you to sort ASCII files.  Very massive text  files
may not sort.

inputfile           the name of the ascii file that you wish to sort.
outputfile          an optional file name to hold the sorted input file.
                    If  no output file is specified, then the input file
                    is sorted and wrote to disk.
/R                  sort  the file in descending order.  The default  is
                    ascending.

Example  - FILESORT FILE1.BAS /R will sort the file FILE1.BAS in  normal
ascending order.

Example - FILESORT FILE1.BAS FILE2.BAS will sort FILE1.BAS and create  a
sorted output file FILE2.BAS
                     FILEVIEW.EXE (Text File Viewer)

Usage               FILEVIEW [/43] [/50] filename

File  View  will allow you to view ASCII files of massive  sizes.   Only
viewing and searching facilities are available, but it can display files
that DOS's EDIT program cannot when the file is very very big.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).

filename            the filename to display.

When  started, the entire file is read and a temporary index created  on
the disk.  This index is used to step through the file quickly.  You can
use  the  up/down, left/right keys to scroll a line or  character  at  a
time.   PgUp/PgDn  can be used to scroll a page up or down  at  a  time.
Home  and  End  will  move to the beginning or end of  the  file.   Ctrl
Left/Right will move 10 characters left or right at a time.

Pressing  T  will allow you to change the default tab  stop  size.   The
default setting is 8 characters.

Pressing  S will search for the text that you entered, starting  at  the
line  below the current line.  If found, the line containing the  search
text now becomes the current line and is displayed immediately.

Changes From Version 1.8 (VIEW.EXE) include -
(i) Scrolling  sideways only happens now when you hit the  edge  of  the
    screen. Normally, you scrolled as soon as hit a left/right key.
(ii)      Searching  scrolled to the line, displaying each line  as  the
    file was scrolling to the line containing the search text.  The line
    containing the found search text is displayed immediately.
                        FINDFILE.EXE (Find Files)

Usage                FINDFILE  [/P]  [/A] [/43] [/50]  [drive:]  [path:]
"Spec1" ["Spec2"]

Find  File  will  display  files, matching the specifications  given  in
Spec1. More than 1 file specification can be given.  All sub-directories
from where you specify are searched.

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/A                  Assumes that you wish to scan all directories on the
                    selected  drive. (The default directory is  the  one
                    you start from).
/P                  Pause after each page.

drive:                The  drive  that you wish to start the  file  find
                    from.
path:                 The directory that you wish the file find to start
                    from.

Spec1               filespec  to find (in quotes), more than  1  can  be
                    used,  ie *.BAK or *.TMP.  They must be enclosed  in
                    quotes  or  they are assumed to be a valid directory
                    name,  and  this  will result  in  the  program  not
                    working.

Example  -  FINDFILE C:\PROGRAMS  "*.BAK" "*.TMP" will search for  files
that match *.BAK and *.TMP, starting at the C:\PROGRAMS directory.

                      FINDREPL.EXE (Find & Replace)

Usage                FINDREPL filespec  "source" ["replace"] [/Y]  [/43]
[/50]

Find & Replace will search for sourcetext in the given filespec.  If you
supply replacetext, then this will replace any occurances of sourcetext.
If  you wish to delete all occurances of sourcetext then do not use  the
replacetext  parameter and use /Y to confirm the deletion.   The  source
text  and  replace text must be in quotes (you cannot use quotes  inside
quotes).

/43                 will use 43 line mode (requires EGA or greater).
/50                 will use 50 line mode (reqiures VGA or greater).
/Y                  Confirms deletion of search text found.

filespec            path of files to use, ie *.TXT or C:\PROGRAMS\*.BAS

source              source text to find, must be in quotes.
replace             optional text to replace the source text with.

Example - FINDREPL C:\PROGRAMS\*.BAS  "DEFINT" will search for DEFINT in
all .BAS files in the C:\PROGRAMS directory.

Example  -  FINDREPL C:\DOS\*.TXT  "NETWORK" "TEMPTEXT" will search  the
.TXT  files  in the C:\DOS directory and replace the text  NETWORK  with
TEMPTEXT

Example - FINDREPL *.DOC "GREG" /Y will delete all ocurrances of GREG in
any .DOC files in the current directory.
                 REMOVDIR.EXE (Remove Empty Directories)

Usage               REMOVDIR [/A] [drive:] [path:]

Remove  directories will remove all empty directories  starting  at  the
given  drive  and path.  All directories on a drive will be  scanned  by
passing the /A parameter.

/A                  Assumes that you wish to scan all directories on the
                    selected  drive. (The default directory is  the  one
                    you start from).

drive:              The drive that you wish to start the file find from.
path:                The directory that you wish the file find to  start
from.

Example  -  REMOVDIR  C:\PROGRAMS  will  remove  all  empty  directories
starting at the C:\PROGRAMS directory.

Example  -  REMOVDIR  /A will remove all empty directories  on  the  the
current disk drive.
                STARTUP.EXE (Multiple CONFIG & AUTOEXEC)

Usage               STARTUP [/NB] [/S?] [/C] [ext]

Startup  allows you to have multiple AUTOEXEC.BAT and CONFIG.SYS  files.
MS-DOS 6 caters for different selections on boot up, but can tend to get
rather  messy with [COMMON] blocks, etc.  This program can allow you  to
tailor individual CONFIG.SYS and AUTOEXEC.BAT files.

/NB                   Do  not  reboot.   Needed  with  most  disk  cache
programs.
/S?                 Duplicate AUTOEXEC.BAT and CONFIG.SYS on drive ?:
/C                  Do a cold boot as opposed to a warm boot.

ext                  A  Common  Extension, ie  WIN  for  CONFIG.WIN  and
AUTOEXEC.WIN

Startup  allows  your system to be configured with up  to  13  different
CONFIG.SYS  and  AUTOEXEC.BAT files.  You modify your  AUTOEXEC.BAT  and
CONFIG.SYS  files and save them with the same extension (ie AUTOEXEC.WIN
and CONFIG.WIN) in the C:\STARTUP directory.

Passing  an  extension, ie WIN will look for AUTOEXEC.WIN and CONFIG.WIN
in the STARTUP directory.  Passing no extension will allow you to select
from  a  list  of all AUTOEXEC.* files in the C:\STARTUP directory.   In
your AUTOEXEC.* file placing a REM DESCRIPTION= will use the description
you specify in the list.

Once  a  file  extension has been selected, ie WIN the  AUTOEXEC.WIN  is
copied  to  C:\AUTOEXEC.BAT and CONFIG.WIN is copied  TO  C:\CONFIG.SYS.
Passing the /SD parameter will duplicate these files on drive D: as well
as  C:. Some disk compression programs, require that the CONFIG.SYS  and
AUTOEXEC.BAT is on the actual disk drive, not the virtual drive  created
by the compression program.

If  you are using a disk cache, then pass /NB for no reboot.  This  will
allow you to flush the cache so that the changes are written to the hard
disk.   It  is  possible that if you do not do this,the  CONFIG.SYS  and
AUTOEXEC.BAT files are not modified before the system reboots.

Passing  /C will force a cold boot as opposed to a warm boot,  providing
that the /NB parameter was not passed.

A  temporary file called GRREBOOT.COM is created.  A command  to  delete
this  file  will be added to your AUTOEXEC.BAT file if you  let  Startup
reboot the system after you select your AUTOEXEC file.
