Home Page The Club Computers News Links Glossary EYAWTK
Before Amiga Background ICS OCS ECS AGA ??? PPC
U-Boot SLB Linux Amiga OS Dual Boot Motherboards Peripherals Other
Initialisation Installation OS4 Updates About OS4 File Systems Networking Printing Other
Introduction File System Workbench Preferences Commands Error Msgs Miscellaneous

AmigaOS 4.0 - About OS4 - Commands

CMD Obsolete
Purpose: To redirect printer output to a file.
Format: CMD <devicename> <filename> [OPT=s | m | n]
Path: SYS:Tools/Cmd

This command became obsolete with AmigaOS 4.0 Final - details shown for information only

CMD was used to redirect output that would normally be sent to a printer to a file instead.

<devicename> can be either the PARALLEL or SERIAL printer device, and should be the same device as specified in the Preferences Printer option.

<filename> is the name of the file to which the redirected output should be sent.

The optional opt=<option> argument must be one of the following:

s or SKIP Skip any short initial write (usually a reset if redirecting a screen dump).
m or MULTIPLE Intercept multiple files until a BREAK command or Ctrl+C is entered.
n or NOTIFY Notify user of progress (messages are displayed on the screen).

Example 1:

3.OS4:> CMD PARALLEL RAM:cmd_file Any output sent to the parallel port will be re-routed to a file in RAM: called cmd_file.

Return to Commands Selection

Disclaimer: Amiga Auckland have prepared the above information for the use of its members based on our experiences and as such is subject to revision at any time. Amiga Auckland cannot guarantee any of the information and cannot be held accountable for any issues that may result from using it.

Copyright 2006 Amiga Auckland Inc. All rights reserved.
Revised: December 24, 2006.