home *** CD-ROM | disk | FTP | other *** search
- January, 1987 AMIGAZINE!
-
-
- D I R U T I L 2 v4.0
- a file/disk utility program
- Original Version by Chris Nicotra
- Revisions/Enhancements/Fixes by Dave Jobusch
- Rich Medved and Nathan Barber
-
-
-
- Instructions:
- Click on file or directory names in the file window to
- select a file to take action on. Click on one of the
- many gadgets to take the selected action on the selected
- files/directory (yes, only one directory at a time).
- The three string gadgets at the bottom are:
-
- S: The current directory. Mess with this. If you
- enter an existing path, you just selected the
- new current directory.
- D: The destination gadget. This one is used to enter
- destination directories, and is also where you
- enter requests for directories to create.
- E: The string to be passed to any file you EXEC.
-
- df0:,df1:,df2:,df3:,ram:,hd0:,hd1:,hd2: --->
- Set current directory to the root of the selected device.
- ALL --->
- Select ALL files in the current directory, including
- the ones "scrolled off" the window.
- BYTE --->
- Adds up the number of bytes of the selected files and
- displays the sum and the number of files. Remember
- that each file takes up 512 more bytes than indicated
- because of its directory entry.
- CLEAR --->
- De-select all selected files
- COPY --->
- Copy selected files to the directory specified in the
- second string gadget. Mind you, you CANNOT enter a
- filename here. It must be an existing directory
- path and CAN go across devices. You should be able
- to enter paths relative to the current directory.
- DELETEDIR --->
- This will delete the non-empty diretory that you have
- selected in the file window. You will get and error
- if the directory is not empty.
- DELETE --->
- Delete selected files. Will not delete directories.
- DINFO --->
- Used to show the number of USABLE bytes from the DEVICE
- associated with the destination directory (D).
- EDIT --->
- EDIT allows you to use a text editor from within
- DirUtil2v4. First click on the file you want to
- edit, then click on the EDIT gadget. To enable this
- feature, you must rename your text editor to "editor"
- and place it in the SYS:c directory. From WB, DirUtil
- will load a copy of EDITOR into ram: and write protect it.
- i.e. you will not be able to delete it from within DirUtil.
- However, DirUtil will automatically delete it from ram:
- when you exit the program. If EDITOR can not be found,
- DirUtil will load successfully, but the EDIT gadget will
- be ghosted and inactive.
-
- From CLI entering "DirUtil2v4 editor" will cause the same
- action as when loading from WB. However, if DirUtil can
- not find EDITOR, it will abort with an error message.
- Entering "DirUtil2v4" only, from CLI will cause DirUtil to
- load itself without trying to find EDITOR. The program will
- load with the EDIT gadget ghosted and inactive.
-
- GETDIR --->
- If you want to go to a new directory, select
- a directory in the file window, and click on this
- gadget. DO NOT USE this to get a directory that is
- listed in the first string gadget! If you must type
- it in, you hit return while in the string gadget -
- then that will be your new current directory.
- HTYPE --->
- Types a file to the screen in HEX and ASCII 16 numbers
- at a time.
- MAKDIR --->
- This will create the directory that you have typed in
- the second string gadget. You MAY use relative paths.
- MOVE --->
- Same basic principle as RENAME, but assumes that you
- want to just move the file to a new directory, not
- actually rename it. It will move multiple files from
- one directory to another. The D gadget should have
- the destination path in it, NOT the whole filename
- as with RENAME. MOVE will also move whole subdirectories
- to another subdirectory, or to ROOT. DO NOT put a / after
- the path name, MOVE adds it for you if needed. MOVE is
- the recommended way to get a file from one place to
- another quickly since the directory need not be reloaded
- after the MOVE.
- PARENT --->
- Go to the parent directory
- PRINT --->
- Selected text files are sent to the printer via PRT:
- Make sure the desired parameters are set in Preferences.
- RENAME --->
- Renames first selected file or directory to the name
- or path (on the same device) in the D string gadget.
- ROOT --->
- Go to the root of the current device
- RUN --->
- "RUNS" the selected files from inside DIRUTIL. If DIRUTIL
- was called from CLI, any output from the program is
- directed to the calling CLI. Parameters may be passed
- to the program by entering them in the E window.
- SEARCH --->
- Searches the marked group of files for the pattern found
- in the E window. Upper/lower ARE different. If the \
- character is found, the next two characters are converted
- into a single Hexadecimal digit and used as one
- character in the overall search. The search pattern was
- limited to 60 max characters by choice. The search has
- two modes, SLOW and FAST, which it will choose depending
- on how much memory is available in the machine. I HIGHLY
- recommend freeing up enough RAM to allow the FAST mode to
- run since the SLOW mode is AT LEAST 10 times slower.
- The SLOW mode search can be aborted by hitting the ESC
- key. The FAST mode cannot be aborted, it is so fast you
- will not mind the slight wait.
- SHOW --->
- Select the IFF files you wish to display, one or more,
- then click on the SHOW gadget. DirUtil will attempt to
- display these files. This function will work with most,
- but not all forms of IFF files. If DirUtil can not
- display the file, an error message will be displayed in
- the error msg. window and DirUtil will go on to the next
- selection, if there is one.
-
- DirUtil opens a new screen for the IFF file, displays the
- file, then waits for you to continue. When finished
- viewing the image, click in the upper-left corner of the
- image. There is an invisible close gadget located there.
- DirUtil will close the screen and procede to display
- the next file.
-
- SINFO --->
- Used to show the number of USABLE bytes from the DEVICE
- associated with the current directory (S).
- SWAP --->
- Used to flip the S and D windows.
- TYPE --->
- Use this to view standard ASCII (readme, docs, etc) on
- your monitor screen. Select the files you want to
- view, then select the TYPE gadget. A new window, with
- the window name being the file that you are currently
- viewing, will open. Use the space bar to advance by one
- screen, a <CR> will advance one line. Entering ESC will
- advance you to the end of that file. The space bar will
- then exit from that file. If you have selected to view
- more than one file, the next will automatically be
- displayed. After all selected files have been viewed,
- the window will close, returning you to DirUtil's main
- screen.
-
-
- NOTES:
-
- The source directory always starts out as the RAM:
- device by default.
-
- I neglected to mention a rather important feature.
- If you did something stupid like select all files
- and then hit delete, and suddenly realize that
- you REALLY didnt want to do that, there is a
- STOP IDIOT feature. When you are doing operations
- on a group of files, CLICKING ANYWHERE IN THE
- WINDOW WILL ABORT THE OPERATION.
-
-
-
-
-
-