SpartaDOS X Reference Manual The Command Processor — Commands



MENU Command Index

Purpose This program allows you to select files and then perform COPY, ERASE, RENAME, etc. commands on all selected files. It is similar to other SpartaDOS menu programs, but provides many new features.
 
Syntax MENU
 
Type External — on device CAR:
 
Related COPY, ERASE, RENAME, TYPE
 
Remarks MENU is useful for operations that include more than one file and is required for single drive copies. It includes three main windows with the commands and prompts displayed below the windows. The "upper left window" is for directories. It will display the subdirectories along with the tree structure showing how they are related. The "upper right window" shows statistics on the area logged. This includes: filespecs, total files, total bytes, tagged files, and tagged bytes. The "lower window" shows the files.

The command menus are broken up into three major classifications: file (File), directory (Dir), and extra (Xtra). The classification is indicated at the lower left of the screen. Toggle between the file and directory command menus by pressing <RETURN>. You can go to the extra command menu by pressing <ESC>. To exit from the MENU you press <ESC> then "Q". The "^" character before a menu selection means to hold down the CONTROL key while pressing the selection key.

File command menus include: COPY, DELETE, FILESPEC, LOG, PRINT, RENAME, TAG, UNTAG, and VIEW. Dir command menus include: AVAILABLE, DELETE DIRECTORY, FILESPEC, LOG, MAKE DIRECTORY, PRINT, TAG DIRECTORY, and UNTAG DIRECTORY. Xtra command menus include: DISPLAY, QUIT, and SORT.
 

File Commands

 

While in the file command menu, use the "↑↓" keys to move the file selector up or down one file at a time or use the "← →" keys to move the file selector up or down one screen at a time. The files shown in the file window are sorted alphabetically by name. They represent the current directory shown in the directory window under the directory selector. (See "Dir Cmnds".)

C   Copy — will copy the file under the file selector. You will be prompted for a destination drive, then a destination path. If copying to the same drive you will also be prompted to insert the destination disk, and then to insert the source disk.
 
^C   ^Copy — will copy all tagged files. Prompts are the same as with Copy.
 
F   Filespec — allows you to enter a filespec with wildcards to narrow down the logged (and displayed) files. Only legal filename characters and wildcards are allowed. Do not enter drive number or path here; instead use Log for that.
 
L   Log — will allow you to change the drive number logged and/or path.
 
P   Print — will print the file currently under the file selector. This is only useful for ASCII text files unless you have a printer driver installed which will print ATASCII graphics characters.
 
^P   ^Print — will print the files currently tagged. It will send a form feed in between files.
 
R   Rename — will allow you to rename the file under the file selector. As a reference, rename prompts you with the present drive number, path, and filename. You can then enter the new filename directly under the old.
 
T   Tag — will tag (mark) the file under the file selector then move the file selector down one filename. A small tag character "♦" will appear to the right of the filename showing it as tagged.
 
^T   ^Tag — will tag all files currently logged (in the current directory).
 
U   Untag — will untag the file under the file selector. The tag character will disappear and the file selector will move down to the next file.
 
^U   ^Untag — will untag all files currently logged (in the current directory).
 
V   View — will display the contents of the file under the file selector.

Dir Commands

 

The directory selector indicates the current directory. While in the directory command menu, use the "↑↓" keys to move the directory selector up or down one directory at a time. When finished with the "Dir Cmnds", press <RETURN> to go back to "File Cmnds" or <ESC> for "Xtra Cmnds".

A   Avail — will give you the amount of free space available on a drive. You are prompted to enter a drive number and will be shown the free space in bytes.
 
D   Del Dir — use "↑↓" to move the directory selector. If the directory selected is empty (as shown in the file window), it can be deleted.
 
F   Filespec — allows you to enter a filespec with wildcards to narrow down the logged (and displayed) files. Only legal filename characters and wildcards are allowed. Do not enter drive number or path here; instead use Log for that. You must go to the "File Cmnds" if you want to do any file operations other than Tagging or Untagging full directories.
 
L   Log — will allow you to change the drive number logged and/or path.
 
M   Make Dir — will create a new subdirectory in the current directory selected. After the new directory is created, the system will relog and you will be back at the root of what was previously logged (always indicated by ">").
 
P   Print — will prompt you with two choices: Directory or Tree. Directory will print the list of the files as displayed in the file window. (If the display is set to show the short form files, they will be printed in one long list, not side by side as displayed.) Tree will print the directory map (tree structure) as displayed in the directory window.
 
T   Tag Dir — will tag all files in the current directory (under the directory selector).
 
^T   ^Tag Dir — will tag all files in all directories currently logged.
 
U   Untag — will untag all files in the current directory (under the directory selector).
 
^U   ^Untag Dir — will untag all files in all directories currently logged.

Xtra Commands

 

The "Xtra Cmnds" always take you back to the previous command menu when finished (except Quit). You can also press <ESC> to leave this menu.

D   Display — toggles the display in the file window between two types. The default display shows the filename with extension, the status of the three file attributes, the file size in bytes, along with the date and time created. This display takes all 38 columns in the file window. The optional display shows two columns of filenames (side by side) with extensions, and their attributes. The attribute letter is displayed if set or a dot if cleared.
 
Q   Quit — is the correct way to exit the menu back to the DOS command PROMPT. NOTE: Do not quit or stop operations by pressing <RESET>. This is a very bad practice that can lead to unrecoverable files.
 
S   Sort — will sort the file display by: Name, Ext, Date, Size. This is a forward sort which defaults to name. To permanently sort directories or reverse sort them, use SORTDIR from the SpartaDOS Tool Kit.

Previous page Next page