This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:system:dos_commands_large [2013/09/02 02:50] – en:system:start:commands renamed to en:system:dos_commands_large (new name) MWanke | en:system:dos_commands_large [2024/09/22 00:28] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== AmigaDOS Commands ====== | + | ====== AmigaDOS Commands |
| These are the AmigaDOS commands found in the C directory with an explination of the command and an example. | These are the AmigaDOS commands found in the C directory with an explination of the command and an example. | ||
| Line 75: | Line 75: | ||
| Parameters: Unit = Clipboard unit, Off = Turn off clipboard. | Parameters: Unit = Clipboard unit, Off = Turn off clipboard. | ||
| Example: Conclip 1 | Example: Conclip 1 | ||
| + | |||
| Copy | Copy | ||
| Format: | Format: | ||
| DATES/S NOPRO/S COM/S NOREQ/S | DATES/S NOPRO/S COM/S NOREQ/S | ||
| Purpose: Copy files (with/ | Purpose: Copy files (with/ | ||
| - | Parameters: From = Files to copy, To = Directory or file to copy to, All = Copy all files, Quiet = No output, | + | Parameters: From = Files to copy, To = Directory or file to copy to, All = Copy all files, |
| - | Buffer = Size of buffer (default = 100K), Clone = Copy file and datestamp, protect bits and comment, Dates = | + | Quiet = No output, Buffer = Size of buffer (default = 100K), Clone = Copy file and datestamp, |
| - | Copy datestamp as well, NoPro = Set default protection bits, Com = Copy comment, NoReq = No requester popups. | + | protect bits and comment, Dates = Copy datestamp as well, NoPro = Set default protection bits, |
| + | Com = Copy comment, NoReq = No requester popups. | ||
| Example: Copy mydoc.txt docs: Dates | Example: Copy mydoc.txt docs: Dates | ||
| + | |||
| CPU | CPU | ||
| Format: | Format: | ||
| Line 88: | Line 91: | ||
| NOINSTBURST/ | NOINSTBURST/ | ||
| NOEXTERNALCACHE/ | NOEXTERNALCACHE/ | ||
| - | Purpose: Change or display CPU settings e.g. caches, burst, fastrom. Useful for some backward compatibility. | + | Purpose: Change or display CPU settings e.g. caches, burst, fastrom. Useful for some backward |
| - | Parameters: Cache|NoCache|DataCache|InstCache|NoDataCache|NoInstCache = Turn all or some caches on of off, | + | compatibility. |
| - | Burst|NoBurst|DataBurst|InstBurst|NoDataBurst|NoInstBurst = Turn all or some burst modes on or off, | + | Parameters: Cache|NoCache|DataCache|InstCache|NoDataCache|NoInstCache = Turn all or some caches |
| - | CopyBack|NoCopyBack = Enable/ | + | on of off, Burst|NoBurst|DataBurst|InstBurst|NoDataBurst|NoInstBurst = Turn all or some burst |
| - | cache for 68040, FastRom|NoFastRom = Copy ROM Fast memory or not, NoMMUTest = Don't check for MMU, Check = Check cpu. | + | modes on or off, CopyBack|NoCopyBack = Enable/ |
| + | ExternalCache|NoExternalCache = Enable/ | ||
| + | Copy ROM Fast memory or not, NoMMUTest = Don't check for MMU, Check = Check cpu. | ||
| Example: CPU INSTCACHE FASTROM | Example: CPU INSTCACHE FASTROM | ||
| + | |||
| Date | Date | ||
| Format: | Format: | ||
| Purpose: Display/ | Purpose: Display/ | ||
| - | Parameters: Day = Day of the Week, Date = Date in dd-mmm-yy format, Time = Time in hh:mm[:ss] format, To = Save to | + | Parameters: Day = Day of the Week, Date = Date in dd-mmm-yy format, Time = Time in hh: |
| - | filename. | + | format, To = Save to filename. |
| Example: Date To=date.txt | Example: Date To=date.txt | ||
| + | |||
| Delete | Delete | ||
| Format: | Format: | ||
| Purpose: Delete files and/or directories. | Purpose: Delete files and/or directories. | ||
| - | Parameters: Files = One or more files, All = Delete all subfolders and files, Quiet = No output, Force = Ignore | + | Parameters: Files = One or more files, All = Delete all subfolders and files, |
| - | protection flags when deleting. | + | Quiet = No output, Force = Ignore protection flags when deleting. |
| Example: Delete OldFilesDir All | Example: Delete OldFilesDir All | ||
| + | |||
| Dir | Dir | ||
| Format: | Format: | ||
| Purpose: List contents of a directory | Purpose: List contents of a directory | ||
| - | Parameters: Dir = Directory, Opt = Option, Dirs = List directories, | + | Parameters: Dir = Directory, Opt = Option, Dirs = List directories, |
| + | Inter = Interactive mode. | ||
| Example: Dir S: Files | Example: Dir S: Files | ||
| + | |||
| Diskchange | Diskchange | ||
| Format: | Format: | ||
| Line 116: | Line 126: | ||
| Parameters: Device = Name of removable device. | Parameters: Device = Name of removable device. | ||
| Example: Diskchange DF2: | Example: Diskchange DF2: | ||
| + | |||
| Diskcopy | Diskcopy | ||
| Format: | Format: | ||
| Purpose: Duplicates disks | Purpose: Duplicates disks | ||
| - | Parameters: From = Disk to copy from, To = Disk to copy to, Name = Volume name, NoVerify = Do not verify copy, | + | Parameters: From = Disk to copy from, To = Disk to copy to, Name = Volume name, |
| - | Multi = Make more than one copy. | + | NoVerify = Do not verify copy, Multi = Make more than one copy. |
| Example: Diskcopy DF0: to DF1: | Example: Diskcopy DF0: to DF1: | ||
| + | |||
| DiskDoctor | DiskDoctor | ||
| Format: | Format: | ||
| Line 127: | Line 139: | ||
| Parameters: Drive = Disk drive name. | Parameters: Drive = Disk drive name. | ||
| Example: DiskDoctor DF0: | Example: DiskDoctor DF0: | ||
| + | |||
| Echo | Echo | ||
| Format: | Format: | ||
| Purpose: Display text in a script or part of a string of text. | Purpose: Display text in a script or part of a string of text. | ||
| - | Parameters: String = Text to display, NoLine = Do not print a new line, First = Position of first character, Len = | + | Parameters: String = Text to display, NoLine = Do not print a new line, |
| - | Length of substring, To = Destination file. | + | First = Position of first character, Len = Length of substring, To = Destination file. |
| Example: Echo "Enter your name: " NoLine | Example: Echo "Enter your name: " NoLine | ||
| + | |||
| Ed | Ed | ||
| - | Format: | + | Format: |
| - | | + | |
| Purpose: Edit text files (screen editor) | Purpose: Edit text files (screen editor) | ||
| - | Parameters: From = File to Edit, Size = Size of Memory for file, With = Extended commands file, Window = Console window | + | Parameters: From = File to Edit, Size = Size of Memory for file, |
| - | (e.g. * = current), Tabs = Tab size, Width = Number of columns, Height = Number of rows. | + | With = Extended commands file, Window = Console window (e.g. * = current), |
| + | Tabs = Tab size, Width = Number of columns, Height = Number of rows. | ||
| Example: ED S: | Example: ED S: | ||
| + | |||
| Edit | Edit | ||
| Format: | Format: | ||
| Purpose: Edit text files (line editor) | Purpose: Edit text files (line editor) | ||
| - | Parameters: From = File to Edit, To = Destination file, With = Extended commands file, Opt = Options | + | Parameters: From = File to Edit, To = Destination file, With = Extended commands file, |
| - | Width = Number of columns, Previous = Number of previous vesions. | + | Opt = Options, Width = Number of columns, Previous = Number of previous vesions. |
| Example: Edit s: | Example: Edit s: | ||
| + | |||
| Else | Else | ||
| Format: | Format: | ||
| Line 154: | Line 170: | ||
| Ed s: | Ed s: | ||
| Endif | Endif | ||
| + | |||
| Endcli | Endcli | ||
| Format: | Format: | ||
| Purpose: Close CLI console window | Purpose: Close CLI console window | ||
| Example: Endcli | Example: Endcli | ||
| + | |||
| Endif | Endif | ||
| Format: | Format: | ||
| Line 169: | Line 187: | ||
| Purpose: Stops a SKIP branch (for debugging) | Purpose: Stops a SKIP branch (for debugging) | ||
| Example: Endskip | Example: Endskip | ||
| + | |||
| Eval | Eval | ||
| Format: | Format: | ||
| Purpose: Evaluate a simple arithmetic expression | Purpose: Evaluate a simple arithmetic expression | ||
| - | Parameters: Value1, Value2 = Values to evaluate (Decimal, Hex (0xn) or Octal (0nnn), Op = Operation (+, | + | Parameters: Value1, Value2 = Values to evaluate (Decimal, Hex (0xn) or Octal (0nnn), |
| + | Op = Operation (+, | ||
| To = File to save result, LFormat = Output format string (use *n to give a line feed). | To = File to save result, LFormat = Output format string (use *n to give a line feed). | ||
| Example: Eval $count + 1 to env:count | Example: Eval $count + 1 to env:count | ||
| + | |||
| Execute | Execute | ||
| Format: | Format: | ||
| Line 180: | Line 201: | ||
| Parameters: File = Script file to execute | Parameters: File = Script file to execute | ||
| Example: Execute PCD | Example: Execute PCD | ||
| + | |||
| Failat | Failat | ||
| Format: | Format: | ||
| Line 186: | Line 208: | ||
| Parameters: RCLIM = Failat number (0-20) | Parameters: RCLIM = Failat number (0-20) | ||
| Example: Failat 20 | Example: Failat 20 | ||
| + | |||
| Fault | Fault | ||
| Format: | Format: | ||
| Line 192: | Line 215: | ||
| Example: Fault 221 | Example: Fault 221 | ||
| "Fault 221: Disk is full" | "Fault 221: Disk is full" | ||
| + | |||
| FF | FF | ||
| Format: | Format: | ||
| Purpose: Turns on Fast Fonts | Purpose: Turns on Fast Fonts | ||
| Example: FF | Example: FF | ||
| + | |||
| FileNote | FileNote | ||
| Format: | Format: | ||
| Purpose: Attach a comment to a file (see LIST) | Purpose: Attach a comment to a file (see LIST) | ||
| - | Parameters: File = File to add comment to, Comment = Text to apply, All = Apply to all files, Quiet = No output | + | Parameters: File = File to add comment to, Comment = Text to apply, |
| + | All = Apply to all files, Quiet = No output | ||
| Example: FileNote List.txt "A list of people' | Example: FileNote List.txt "A list of people' | ||
| + | |||
| Format | Format | ||
| Format: | Format: | ||
| Line 206: | Line 233: | ||
| DIRCACHE/S NODIRCACHE/ | DIRCACHE/S NODIRCACHE/ | ||
| Purpose: Initialises Amiga disks (in System drawer) | Purpose: Initialises Amiga disks (in System drawer) | ||
| - | Parameters: Device|Drive = Disk device or name to format, Name = New volume name, OFS = Old Filing System, | + | Parameters: Device|Drive = Disk device or name to format, Name = New volume name, |
| - | FFS = Fast File System, Intl|International = FFS International mode, NoIntl|NoInternational = International mode | + | OFS = Old Filing System, FFS = Fast File System, Intl|International = FFS International mode, |
| - | off, DirCache|NoDirCache = Directory caching on or off, NoIcons = No disk or trash icons, Quick = Less thorough format | + | NoIntl|NoInternational = International mode off, DirCache|NoDirCache = Directory caching on or off, |
| + | NoIcons = No disk or trash icons, Quick = Less thorough format | ||
| Example: Format Drive DF0: Name " | Example: Format Drive DF0: Name " | ||
| + | |||
| Get | Get | ||
| Format: | Format: | ||
| Line 215: | Line 244: | ||
| Parameters: Name = Enviornment variable name | Parameters: Name = Enviornment variable name | ||
| Example: Get RC | Example: Get RC | ||
| + | |||
| Getenv | Getenv | ||
| Format: | Format: | ||
| Line 220: | Line 250: | ||
| Parameters: Name = Enviornment variable name | Parameters: Name = Enviornment variable name | ||
| Example: Getenv Workbench | Example: Getenv Workbench | ||
| + | |||
| Iconx | Iconx | ||
| Format: | Format: | ||
| Line 226: | Line 257: | ||
| set to c:IconX to run it. | set to c:IconX to run it. | ||
| Example: Iconx | Example: Iconx | ||
| + | |||
| If | If | ||
| Format: | Format: | ||
| Purpose: If condition is true execute following commands until | Purpose: If condition is true execute following commands until | ||
| an ELSE or ENDIF occurs. | an ELSE or ENDIF occurs. | ||
| - | Parameters: Not = Reverse boolean result, Warn = Test warn flag from previous command, Error = Test error flag from | + | Parameters: Not = Reverse boolean result, Warn = Test warn flag from previous command, |
| - | previous command, Fail = Test fail flag from previous command, EQ = Equality test, GT = Greater than test, | + | Error = Test error flag from previous command, Fail = Test fail flag from previous command, |
| - | GE = Greater or equal test, VAL = Input is a number, Exists = Test file exists. | + | EQ = Equality test, GT = Greater than test, GE = Greater or equal test, VAL = Input is a number, |
| + | Exists = Test file exists. | ||
| Example: IF WARN, IF $count GT 10, IF EXISTS C:List | Example: IF WARN, IF $count GT 10, IF EXISTS C:List | ||
| + | |||
| Info | Info | ||
| Format: | Format: | ||
| Line 239: | Line 273: | ||
| Parameters: Device = Name of device to display | Parameters: Device = Name of device to display | ||
| Example: Info DH0: | Example: Info DH0: | ||
| + | |||
| Install | Install | ||
| Format: | Format: | ||
| Line 244: | Line 279: | ||
| type INSTALL ? and swap disks and then type DF0: and | type INSTALL ? and swap disks and then type DF0: and | ||
| press RETURN to save bootblock. | press RETURN to save bootblock. | ||
| - | Parameters: Device = Disk to install bootblock, NoBoot = Erase bootblock, Check = Test for bootblock, FFS = Use | + | Parameters: Device = Disk to install bootblock, NoBoot = Erase bootblock, |
| - | Fast File System. | + | Check = Test for bootblock, FFS = Use Fast File System. |
| Example: Install DF0: | Example: Install DF0: | ||
| + | |||
| IPrefs | IPrefs | ||
| Format: | Format: | ||
| Purpose: Initialises preferences files on startup. | Purpose: Initialises preferences files on startup. | ||
| Example: IPrefs | Example: IPrefs | ||
| + | |||
| Join | Join | ||
| Format: | Format: | ||
| Line 256: | Line 293: | ||
| Parameters: File = File(s) to join together, To|as = Destination file | Parameters: File = File(s) to join together, To|as = Destination file | ||
| Example: Join File1 File2 File3 as FileFull | Example: Join File1 File2 File3 as FileFull | ||
| + | |||
| Lab | Lab | ||
| Format: | Format: | ||
| Line 261: | Line 299: | ||
| Parameters: Label = Name of label | Parameters: Label = Name of label | ||
| Example: Lab PROC2 | Example: Lab PROC2 | ||
| + | |||
| List | List | ||
| Format: | Format: | ||
| Line 266: | Line 305: | ||
| LFORMAT/K ALL/S | LFORMAT/K ALL/S | ||
| Purpose: List file details in a directory. | Purpose: List file details in a directory. | ||
| - | Parameters: Dir = One or more directory name(s), Keys = Display keys, NoDates = Do not display dates, To = Destination | + | Parameters: Dir = One or more directory name(s), Keys = Display keys, NoDates = Do not |
| - | file, Sub = Subdirectories included, Since = List files since date given, Upto = List files upto given date, Quick = | + | display dates, To = Destination file, Sub = Subdirectories included, Since = List files |
| - | Simple directory list, Block = List files in block sizes, NoHead = Do not display header lines, Files = Files only, | + | since date given, Upto = List files upto given date, Quick = Simple directory list, |
| + | Block = List files in block sizes, NoHead = Do not display header lines, Files = Files only, | ||
| Dirs = Directorys only, LFormat = Output list using this format string, All = All files. | Dirs = Directorys only, LFormat = Output list using this format string, All = All files. | ||
| Example: List Workbench: Block Dates Since=01-Jul-00 | Example: List Workbench: Block Dates Since=01-Jul-00 | ||
| Line 297: | Line 337: | ||
| Parameters: Name = One or more directories to create. | Parameters: Name = One or more directories to create. | ||
| Example: MakeDir DH1:Docs DH1:Basic DH0: | Example: MakeDir DH1:Docs DH1:Basic DH0: | ||
| + | |||
| MakeLink | MakeLink | ||
| Format: | Format: | ||
| Line 302: | Line 343: | ||
| Parameters: From = Link file, To = Actual file, Hard = Hard link, Force = Link to sub-directory | Parameters: From = Link file, To = Actual file, Hard = Hard link, Force = Link to sub-directory | ||
| Example: MakeLink T C:Type Hard | Example: MakeLink T C:Type Hard | ||
| + | |||
| Mount | Mount | ||
| Format: | Format: | ||
| Line 315: | Line 357: | ||
| Smart, | Smart, | ||
| Parameters: Window = Window config string, From = Alternative script to Shell-Script. | Parameters: Window = Window config string, From = Alternative script to Shell-Script. | ||
| - | Options. Auto = Open only when output sent to it, Backdrop = Open as a backdrop behind other windows, | + | Options. Auto = Open only when output sent to it, Backdrop = Open as a backdrop behind |
| - | NoBorder = No left or bottom borders, NoDrag = No draggable title bar, Simple = Simple refresh, | + | other windows, NoBorder = No left or bottom borders, NoDrag = No draggable title bar, |
| - | Smart = Smart refresh, Wait = Remain open under window is close manually. | + | Simple = Simple refresh, Smart = Smart refresh, Wait = Remain open under window is close manually. |
| Example: Newcli CON: | Example: Newcli CON: | ||
| Line 329: | Line 371: | ||
| Format: | Format: | ||
| Purpose: Set or change the program search path | Purpose: Set or change the program search path | ||
| - | Parameters: Path = Directory path to change, Add = Add path, Show = Display path, Reset = Clear path, | + | Parameters: Path = Directory path to change, Add = Add path, Show = Display path, |
| - | Remove = Remove entry from path, Quiet = No output | + | Reset = Clear path, Remove = Remove entry from path, Quiet = No output |
| Example: Path SC:C Add | Example: Path SC:C Add | ||
| Line 353: | Line 395: | ||
| Parameters: RC = Return Code | Parameters: RC = Return Code | ||
| Example: Quit 5 | Example: Quit 5 | ||
| + | |||
| Relabel | Relabel | ||
| Format: | Format: | ||
| Line 358: | Line 401: | ||
| Parameters: Drive = Disk to change, Name = New volume name | Parameters: Drive = Disk to change, Name = New volume name | ||
| Example: Relabel DF0: " | Example: Relabel DF0: " | ||
| + | |||
| RemRAD | RemRAD | ||
| Format: | Format: | ||
| Line 363: | Line 407: | ||
| Parameters: Device = RAD device, Force = Remove even if in use | Parameters: Device = RAD device, Force = Remove even if in use | ||
| Example: RemRAD RAD: | Example: RemRAD RAD: | ||
| + | |||
| Rename | Rename | ||
| Format: | Format: | ||
| Line 368: | Line 413: | ||
| Parameters: From = Old filename, To|As = New filename, Quiet = No output | Parameters: From = Old filename, To|As = New filename, Quiet = No output | ||
| Example: Rename MyDoc as MyDoc.doc | Example: Rename MyDoc as MyDoc.doc | ||
| + | |||
| RequestChoice | RequestChoice | ||
| Format: | Format: | ||
| Purpose: Asks for input via a requester | Purpose: Asks for input via a requester | ||
| - | Parameters: Title = Title for dialog box, Body = Text for dialog box, Gadgets = List of buttons, Pubscreen = Screen | + | Parameters: Title = Title for dialog box, Body = Text for dialog box, |
| - | to use. | + | Gadgets = List of buttons, Pubscreen = Screen to use. |
| Example: RequestChoice >ENV:RT " | Example: RequestChoice >ENV:RT " | ||
| disk*nAre you sure?" "Go ahead" "No way!" | disk*nAre you sure?" "Go ahead" "No way!" | ||
| + | |||
| RequestFile | RequestFile | ||
| Format: | Format: | ||
| Negative/K AcceptPattern/ | Negative/K AcceptPattern/ | ||
| MULTISELECT/ | MULTISELECT/ | ||
| - | Parameters: Drawer = Initial drawer to use, File = Initial file name, Pattern = Use pattern as filter, Title = | + | Parameters: Drawer = Initial drawer to use, File = Initial file name, Pattern = Use pattern |
| - | Title of dialog box, Positive = Text for OK button, Negative = Text for Cancel button, AcceptPattern = Defines | + | as filter, Title = Title of dialog box, Positive = Text for OK button, Negative = Text for |
| - | file pattern(s) to show (overrides Pattern), RejectPattern = Pattern(s) of files to hide, SaveMode = Change colours | + | Cancel button, AcceptPattern = Defines file pattern(s) to show (overrides Pattern), |
| - | to indicate Save or other mode, MultiSelect = Allow multiple file selection, DrawersOnly = Display only directories, | + | RejectPattern = Pattern(s) of files to hide, SaveMode = Change colours to indicate Save or |
| + | other mode, MultiSelect = Allow multiple file selection, DrawersOnly = Display only directories, | ||
| NoIcons = Suppress info files, PubScreen = Screen to use. | NoIcons = Suppress info files, PubScreen = Screen to use. | ||
| Purpose: Asks for a filename via ASL file requester | Purpose: Asks for a filename via ASL file requester | ||
| Example: RequestFile > | Example: RequestFile > | ||
| + | |||
| Resident | Resident | ||
| Format: | Format: | ||
| Line 391: | Line 440: | ||
| from disk each time it is executed). To ensure a | from disk each time it is executed). To ensure a | ||
| command can be made resident check the pure flag (see List). | command can be made resident check the pure flag (see List). | ||
| - | Parameters: Name|File = File to be made resident, Remove = Remove file from resident list, Add = Add file to resident | + | Parameters: Name|File = File to be made resident, Remove = Remove file from resident list, |
| - | memory, Pure|Force = Force a non-pure file to be resident, System = Show system' | + | Add = Add file to resident memory, Pure|Force = Force a non-pure file to be resident, |
| + | System = Show system' | ||
| Example: Resident C:Dir Pure | Example: Resident C:Dir Pure | ||
| + | |||
| Run | Run | ||
| Format: | Format: | ||
| Line 399: | Line 450: | ||
| Parameters: Command = Program to run | Parameters: Command = Program to run | ||
| Example: Run Printfiles Doc1 | Example: Run Printfiles Doc1 | ||
| + | |||
| Search | Search | ||
| Format: | Format: | ||
| FILE/S PATTERN/S | FILE/S PATTERN/S | ||
| Purpose: Search for a string in a file or a file on a disk | Purpose: Search for a string in a file or a file on a disk | ||
| - | Parameters: From = Directory to seach from, Search = Text to search for, All = Search sub-directories, | + | Parameters: From = Directory to seach from, Search = Text to search for, All = Search |
| - | numbers are not displayed, Quiet = No Output, Quick = Reduce output listing, File = Search a file rather than | + | sub-directories, |
| - | content, Pattern = Search using a pattern. | + | output listing, File = Search a file rather than content, Pattern = Search using a pattern. |
| Example: Search SYS: " | Example: Search SYS: " | ||
| + | |||
| Set | Set | ||
| Format: | Format: | ||
| Line 413: | Line 466: | ||
| Parameters: Name = Variable name, String = Text or number for variable | Parameters: Name = Variable name, String = Text or number for variable | ||
| Example: Set MyName " | Example: Set MyName " | ||
| + | |||
| SetClock | SetClock | ||
| Format: | Format: | ||
| Purpose: Load or set the date and time from battery-backed clock | Purpose: Load or set the date and time from battery-backed clock | ||
| - | Parameters: Load = Load date from clock, Save = Save date and time to clock, Reset = Resets the click | + | Parameters: Load = Load date from clock, Save = Save date and time to clock, |
| + | Reset = Resets the click | ||
| Example: Date 27-Nov-00 10:00, SetClock Save | Example: Date 27-Nov-00 10:00, SetClock Save | ||
| + | |||
| SetDate | SetDate | ||
| Format: | Format: | ||
| Purpose: Set date of a file or directory (see List) | Purpose: Set date of a file or directory (see List) | ||
| - | Parameters: File = File to change, Weekday = Day of week, Date = Date, Time = Time, All = All files | + | Parameters: File = File to change, Weekday = Day of week, Date = Date, Time = Time, |
| + | All = All files | ||
| Example: Setdate DEVS: Monday 10:30 | Example: Setdate DEVS: Monday 10:30 | ||
| + | |||
| Setenv | Setenv | ||
| Format: | Format: | ||
| Line 428: | Line 486: | ||
| Parameters: Name = Variable name, String = Text or number for variable | Parameters: Name = Variable name, String = Text or number for variable | ||
| Example: Setenv Workbench " | Example: Setenv Workbench " | ||
| + | |||
| Setfont | Setfont | ||
| Format: | Format: | ||
| BOLD/S UNDERLINE/S | BOLD/S UNDERLINE/S | ||
| Purpose: Sets console font | Purpose: Sets console font | ||
| - | Parameters: Name = Font name, Size = Font size, Scale = Scale font to size, Prop = Specify if a Proportional font, | + | Parameters: Name = Font name, Size = Font size, Scale = Scale font to size, |
| - | Italic = Use italic font, Bold = Use bold font, Underline = Use underlined font | + | Prop = Specify if a Proportional font, Italic = Use italic font, |
| + | Bold = Use bold font, Underline = Use underlined font | ||
| Example: SetFont Courier 15 Bold | Example: SetFont Courier 15 Bold | ||
| + | |||
| SetKeyboard | SetKeyboard | ||
| Format: | Format: | ||
| Line 441: | Line 502: | ||
| Parameters: Keymap = Keymap file to use | Parameters: Keymap = Keymap file to use | ||
| Example: SetKeyboard USA0 | Example: SetKeyboard USA0 | ||
| + | |||
| SetMap | SetMap | ||
| Format: | Format: | ||
| Line 448: | Line 510: | ||
| Parameters: Keymap = Keymap file to use | Parameters: Keymap = Keymap file to use | ||
| Example: Setmap GB | Example: Setmap GB | ||
| + | |||
| SetPatch | SetPatch | ||
| Format: | Format: | ||
| Purpose: Patch Operating System functions and remove bugs (43.4) | Purpose: Patch Operating System functions and remove bugs (43.4) | ||
| Example: Setpatch Quiet | Example: Setpatch Quiet | ||
| + | |||
| SetPatch | SetPatch | ||
| Format: | Format: | ||
| Line 459: | Line 523: | ||
| Purpose: Patch Operating System functions, enable/ | Purpose: Patch Operating System functions, enable/ | ||
| HD NDS mode, wait for disk validation and remove bugs (44.38) | HD NDS mode, wait for disk validation and remove bugs (44.38) | ||
| - | Parameters: Quiet = No output, NoCache = Cache off, Reverse = Reverse action of setpatch, NoNSD = No New Style | + | Parameters: Quiet = No output, NoCache = Cache off, Reverse = Reverse action of setpatch, |
| - | Device (Large HD support), PatchConfigFile = Specify a patch config file, PatchConfigLine = Specify a Patch | + | NoNSD = No New Style Device (Large HD support), PatchConfigFile = Specify a patch |
| - | Config line, PatchInfo = Show patch infom, ForceUpdate = Install updates despite something installed | + | config file, PatchConfigLine = Specify a Patch Config line, PatchInfo = Show patch infom, |
| - | earlier, NoRomUpdate = Do not install ROM updates, DisableRomModules = Remove some ROM modiles (can cause a | + | ForceUpdate = Install updates despite something installed earlier, NoRomUpdate = Do not |
| - | crash), SkipRomUpdates = Skip following updates, | + | install ROM updates, DisableRomModules = Remove some ROM modiles (can cause a crash), |
| + | SkipRomUpdates = Skip following updates, | ||
| validated, AvoidMemFKickForPatches = Ignore MemFKick for Patches. | validated, AvoidMemFKickForPatches = Ignore MemFKick for Patches. | ||
| Example: Setpatch NOROMUPDATE NONSD QUIET | Example: Setpatch NOROMUPDATE NONSD QUIET | ||
| + | |||
| Skip | Skip | ||
| Format: | Format: | ||
| Line 472: | Line 538: | ||
| Parameters: Label = Label name to skip to, Back = Go back in script to label | Parameters: Label = Label name to skip to, Back = Go back in script to label | ||
| Example: Skip Lab2 Back | Example: Skip Lab2 Back | ||
| + | |||
| Sort | Sort | ||
| Format: | Format: | ||
| Purpose: Sort a file and output to new file | Purpose: Sort a file and output to new file | ||
| - | Parameters: From = File to sort, To = Output file, Colstart = Column to sort from, Case = Upper | + | Parameters: From = File to sort, To = Output file, Colstart = Column to sort from, |
| - | case entries are done first, Numeric = Input treated as numbers. | + | Case = Upper case entries are done first, Numeric = Input treated as numbers. |
| Example: Sort Figures To SortedFigures Numeric | Example: Sort Figures To SortedFigures Numeric | ||
| + | |||
| Stack | Stack | ||
| Format: | Format: | ||
| Line 483: | Line 551: | ||
| Parameters: Size = Stack size in bytes | Parameters: Size = Stack size in bytes | ||
| Example: Stack 10000 | Example: Stack 10000 | ||
| + | |||
| Status | Status | ||
| Format: | Format: | ||
| Purpose: Display status of running programs. TCB is Task Control Block | Purpose: Display status of running programs. TCB is Task Control Block | ||
| - | Parameters: Process = Task number, Full = Full output of process info, TCB = Information | + | Parameters: Process = Task number, Full = Full output of process info, TCB = Information |
| - | the command name, CLI|All = Command info only, COM|Command = Search for command. | + | except |
| Example: Status 2 Full | Example: Status 2 Full | ||
| + | |||
| Type | Type | ||
| Format: | Format: | ||
| Line 496: | Line 566: | ||
| as hex values, Opt N | Number = Number the lines. | as hex values, Opt N | Number = Number the lines. | ||
| Example: Type C:DIR HEX | Example: Type C:DIR HEX | ||
| + | |||
| Unset | Unset | ||
| Format: | Format: | ||
| Line 501: | Line 572: | ||
| Parameters: Name = Environment variable name | Parameters: Name = Environment variable name | ||
| Example: Unset MyName | Example: Unset MyName | ||
| + | |||
| UnSetEnv | UnSetEnv | ||
| Format: | Format: | ||
| Line 506: | Line 578: | ||
| Parameters: Name = Environment variable name | Parameters: Name = Environment variable name | ||
| Example: UnSetEnv Workbench | Example: UnSetEnv Workbench | ||
| + | |||
| Unalias | Unalias | ||
| Format: | Format: | ||
| Line 511: | Line 584: | ||
| Parameters: Name = Alias name | Parameters: Name = Alias name | ||
| Example: UnAlias MyDir | Example: UnAlias MyDir | ||
| + | |||
| Version | Version | ||
| Format: | Format: | ||
| Unit/N INTERNAL/S RES/S | Unit/N INTERNAL/S RES/S | ||
| Purpose: Display workbench, library or device version information. | Purpose: Display workbench, library or device version information. | ||
| - | Parameters: Name = File, Version = Print Kickstart or Workbench number and sets env variables and sets | + | Parameters: Name = File, Version = Print Kickstart or Workbench number and sets env |
| - | Warn flag, Revision = As Version but for Revision numer, File = Check file rather than memory, | + | variables and sets Warn flag, Revision = As Version but for Revision numer, File = Check |
| - | Full = Display full information, | + | file rather than memory, Full = Display full information, |
| + | Res = Check resident files. | ||
| Example: Version kickstart Version=39 Revision=106 | Example: Version kickstart Version=39 Revision=106 | ||
| + | |||
| Wait | Wait | ||
| Format: | Format: | ||
| Purpose: Wait for a specified period of time | Purpose: Wait for a specified period of time | ||
| - | Parameters: Time = Time period in either Sec (Seconds) or Mins (Minutes), Until = Wait until a time | + | Parameters: Time = Time period in either Sec (Seconds) or Mins (Minutes), |
| + | Until = Wait until a time | ||
| Example: Wait Until 12:00 | Example: Wait Until 12:00 | ||
| + | |||
| Which | Which | ||
| Format: | Format: | ||
| Purpose: Find where a file is in command path (see Path) and sets Warn flag. | Purpose: Find where a file is in command path (see Path) and sets Warn flag. | ||
| - | Parameters: File = File to locate, NoRes = Resident list is not searched, Res = Only the resident | + | Parameters: File = File to locate, NoRes = Resident list is not searched, |
| - | list is searched, All = Search full path. | + | Res = Only the resident list is searched, All = Search full path. |
| Example: Which Multiview | Example: Which Multiview | ||
| + | |||
| Why | Why | ||
| Format: | Format: | ||
| Purpose: Display reason why a previous command failed | Purpose: Display reason why a previous command failed | ||
| Example: Why | Example: Why | ||
| + | |||
| Key | Key | ||
| /A Required argument | /A Required argument | ||
| Line 542: | Line 622: | ||
| /S Switch (optional) | /S Switch (optional) | ||
| - | + | </ | |
| - | Additional AmigaDOS commands | + | |
| + | ====== Additional AmigaDOS commands ====== | ||
| + | |||
| + | < | ||
| DMS | DMS | ||
| - | Format: DMS Read file[.DMS] [FROM dev:] [TEXT filetext] [CMODE mode] [LOW lowtrack] [HIGH hightrack] [NOVAL] [NOZERO] [ENCRYPT password] | + | Format: DMS Read file[.DMS] [FROM dev:] [TEXT filetext] [CMODE mode] [LOW lowtrack] |
| - | DMS Write file[.DMS],,, | + | [HIGH hightrack] [NOVAL] [NOZERO] [ENCRYPT password] |
| + | |||
| + | DMS Write file[.DMS],,, | ||
| + | [NOPAUSE [DECRYPT password] | ||
| DMS Repack file[.DMS] [TO dev:] [LOW lowtrack] [HIGH hightrack] [CMODE mode] | DMS Repack file[.DMS] [TO dev:] [LOW lowtrack] [HIGH hightrack] [CMODE mode] | ||
| + | |||
| DMS View file[.DMS],,, | DMS View file[.DMS],,, | ||
| + | |||
| DMS Test file[.DMS],,, | DMS Test file[.DMS],,, | ||
| + | |||
| Purpose: | Purpose: | ||
| Example: DMS Write MyDisk.DMS FROM DF0: | Example: DMS Write MyDisk.DMS FROM DF0: | ||
| + | |||
| + | |||
| Installer | Installer | ||
| - | Format: | + | Format: |
| - | logname> < | + | < |
| - | Purpose: To install an application via a installer script. Usually provided as a default tool for script | + | Purpose: To install an application via a installer script. Usually provided as a default |
| - | files in icon. | + | tool for script files in icon. |
| Example: Installer SCRIPT InstallApp APPNAME MyProgram LOGFILE DH0: | Example: Installer SCRIPT InstallApp APPNAME MyProgram LOGFILE DH0: | ||
| + | |||
| LHA | LHA | ||
| - | Format: | + | Format: |
| + | [@file] [destination] | ||
| Purpose: To create, modify or list LHA or LZH files | Purpose: To create, modify or list LHA or LZH files | ||
| Examples: | Examples: | ||
| Line 566: | Line 659: | ||
| LHA l pictures.lha | LHA l pictures.lha | ||
| LHA x pictures.lha | LHA x pictures.lha | ||
| + | |||
| LZX | LZX | ||
| Format: | Format: | ||
| Line 579: | Line 673: | ||
| Clear Screen | Clear Screen | ||
| Example: Echo " | Example: Echo " | ||
| - | Purpose: Clears the AmigaOS screen. Uses printer commands to control text formatting in CLI, so *E is equivalent to ESC character. | + | Purpose: Clears the AmigaOS screen. Uses printer commands to control text |
| - | The command clear is normally defined using an Alias or an AmigaDOS script in S: folder. | + | formatting in CLI, so *E is equivalent to ESC character. The command clear |
| + | is normally defined using an Alias or an AmigaDOS script in S: folder. | ||
| Text in Italics | Text in Italics | ||
| Line 599: | Line 694: | ||
| *E[0m resets to normal character set.</ | *E[0m resets to normal character set.</ | ||
| + | \\ | ||
| + | |||
| + | {{ : | ||
| ====== Links ====== | ====== Links ====== | ||
| - | * from: http:// | + | * to sources |
| + | * http:// | ||
| + | * to documentations | ||
| + | {{page> | ||