.; How to use ^Switches^ % How to use Switches % Switches are options used with AMOS commands. AMOS commands are commands entered at AMOS monitor level. These options expand the functionality of the command by allowing you to do more with the command than is possible without the switches. Switches normally consist of two parts. The first part is the /. The second part is the option, usually a letter or series of letters. For example: Use Query option with COPY; the switch = /Q Type : ^COPY/Q =OLDONE.T[5,1]^ Use Wide option with DIR; the switch = /W:3 Type : ^DIR/W FILES.*^ Use Delete option with RENAME; the swithc = /D Type : ^RENAME/D NEWONE.T=OLDONE.T^ Page ^1^ of ^3^ % How to use Switches % There are two types of switches: ^1^. ^Operational^ - the switch follows command ^2^. ^File^ - the switch follows the filespec Operational switches act on all the files specified in the command. File switches act on the file it follows and all files following it until there is another switch. All the examples on the previous page used operational switches. File switches allow you to be selective about which files you wish to use the switch with. For example: Use /Q with COPY on files with OLDONE filename but not with other filenames; Type : ^COPY =OLDONE.*[5,1]/Q,NEWONE.*/NOQ,OTHER.*^ (You will be queried on all files with OLDONE filename, not others) Page ^2^ of ^3^ % How to use Switches % There are many commands that have switches. If a command does have switches, those switches will appear in the commands help file. If you still do not know how to use switches, go over this help file again and make a list of the terms or phrases that you don't fully understand. % May the Force be with You % Page ^3^ of ^3^ END OF SWITCH HELP FILE .