User Tools

    ~~ RM: keiner ~~ UI: ---start--- ~~ IP:18.188.10.246~~

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next 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) MWankeen:system:dos_commands_large [2013/09/02 05:24] (current) MWanke
Line 1: Line 1:
-====== AmigaDOS Commands ======+====== AmigaDOS Commands (large) ======
  
 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:  Copy From/M To/A ALL/S QUIET/S BUF=BUFFER/K/N CLONE/S Format:  Copy From/M To/A ALL/S QUIET/S BUF=BUFFER/K/N CLONE/S
         DATES/S NOPRO/S COM/S NOREQ/S         DATES/S NOPRO/S COM/S NOREQ/S
 Purpose: Copy files (with/without protection bits) Purpose: Copy files (with/without protection bits)
-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:  CPU CACHE/S BURST/S NOCACHE/S NOBURST/S DATACACHE/S DATABURST/S Format:  CPU CACHE/S BURST/S NOCACHE/S NOBURST/S DATACACHE/S DATABURST/S
Line 88: Line 91:
         NOINSTBURST/S COPYBACK/S NOCOPYBACK/S EXTERNALCACHE/S         NOINSTBURST/S COPYBACK/S NOCOPYBACK/S EXTERNALCACHE/S
         NOEXTERNALCACHE/S FASTROM/S NOFASTROM/S NOMMUTEST/S CHECK/K         NOEXTERNALCACHE/S FASTROM/S NOFASTROM/S NOMMUTEST/S CHECK/K
-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/disable copyback mode for 68040, ExternalCache|NoExternalCache = Enable/disable external +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/disable copyback mode for 68040,  
 +ExternalCache|NoExternalCache = Enable/disable external cache for 68040, FastRom|NoFastRom =  
 +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:  Date Day Date Time To=Ver/K Format:  Date Day Date Time To=Ver/K
 Purpose: Display/change date or time Purpose: Display/change date or time
-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:mm[:ss]  
-filename.+format, To = Save to filename.
 Example: Date To=date.txt Example: Date To=date.txt
 +
 Delete Delete
 Format:  Delete File/M/A ALL/S QUIET/S FORCE/S Format:  Delete File/M/A ALL/S QUIET/S FORCE/S
 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:  Dir Dir Opt/K ALL/S DIRS/S FILES/S INTER/S Format:  Dir Dir Opt/K ALL/S DIRS/S FILES/S INTER/S
 Purpose: List contents of a directory Purpose: List contents of a directory
-Parameters: Dir = Directory, Opt = Option, Dirs = List directories, Files = List Files, Inter = Interactive mode.+Parameters: Dir = Directory, Opt = Option, Dirs = List directories, Files = List Files,  
 +Inter = Interactive mode.
 Example: Dir S: Files Example: Dir S: Files
 +
 Diskchange Diskchange
 Format:  Diskchange Device/A Format:  Diskchange Device/A
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:  Diskcopy From/A To/A Name/K NOVERIFY/S MULTI/S Format:  Diskcopy From/A To/A Name/K NOVERIFY/S MULTI/S
 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:  Diskdoctor Drive/A Format:  Diskdoctor Drive/A
Line 127: Line 139:
 Parameters: Drive = Disk drive name. Parameters: Drive = Disk drive name.
 Example: DiskDoctor DF0: Example: DiskDoctor DF0:
 +
 Echo Echo
 Format:  Echo String/M NOLINE/S FIRST/K/N LEN/K/N TO/K Format:  Echo String/M NOLINE/S FIRST/K/N LEN/K/N TO/K
 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:  ED From/A Size/N With/K Window/K Tabs/N Width=Cols/N +Format:  ED From/A Size/N With/K Window/K Tabs/N Width=Cols/N Height=Rows/N
-        Height=Rows/N+
 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:User-Startup Example: ED S:User-Startup
 +
 Edit Edit
 Format:  Edit From/A To With/K Ver/K Opt/K Width/N Previous/N Format:  Edit From/A To With/K Ver/K Opt/K Width/N Previous/N
 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 = OptionsWidth = Number of columns, Previous = Number of previous vesions.
 Example: Edit s:User-Startup With Ed-Script Example: Edit s:User-Startup With Ed-Script
 +
 Else Else
 Format:  Else Format:  Else
Line 154: Line 170:
         Ed s:User-Startup         Ed s:User-Startup
         Endif         Endif
 +
 Endcli Endcli
 Format:  Endcli Format:  Endcli
 Purpose: Close CLI console window Purpose: Close CLI console window
 Example: Endcli Example: Endcli
 +
 Endif Endif
 Format:  Endif Format:  Endif
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:  Eval Value1/A Op Value2/M To/K LFormat/K Format:  Eval Value1/A Op Value2/M To/K LFormat/K
 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:  Execute File/A Format:  Execute File/A
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:  Failat RCLIM/A Format:  Failat RCLIM/A
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:  Fault Error/N/M Format:  Fault Error/N/M
Line 192: Line 215:
 Example: Fault 221 Example: Fault 221
         "Fault 221: Disk is full"         "Fault 221: Disk is full"
 +
 FF FF
 Format:  FF Format:  FF
 Purpose: Turns on Fast Fonts Purpose: Turns on Fast Fonts
 Example: FF Example: FF
 +
 FileNote FileNote
 Format:  Filenote File/A Comment ALL/S QUIET/      Format:  Filenote File/A Comment ALL/S QUIET/     
 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's names" Example: FileNote List.txt "A list of people's names"
 +
 Format Format
 Format:  Format Device=Drive/K/A Name/K/A OFS/S FFS/S Format:  Format Device=Drive/K/A Name/K/A OFS/S FFS/S
Line 206: Line 233:
         DIRCACHE/S NODIRCACHE/S NOICONS/S QUICK/S         DIRCACHE/S NODIRCACHE/S NOICONS/S QUICK/S
 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 "Docs" NOICONS FFS Example: Format Drive DF0: Name "Docs" NOICONS FFS
 +
 Get Get
 Format:  Get Name/A Format:  Get Name/A
Line 215: Line 244:
 Parameters: Name = Enviornment variable name Parameters: Name = Enviornment variable name
 Example: Get RC Example: Get RC
 +
 Getenv Getenv
 Format:  Getenv Name/A Format:  Getenv Name/A
Line 220: Line 250:
 Parameters: Name = Enviornment variable name Parameters: Name = Enviornment variable name
 Example: Getenv Workbench Example: Getenv Workbench
 +
 Iconx Iconx
 Format:  Iconx Format:  Iconx
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:  If NOT/S WARN/S ERROR/S FAIL/S EQ/K GT/K GE/K VAL/S EXISTS/K Format:  If NOT/S WARN/S ERROR/S FAIL/S EQ/K GT/K GE/K VAL/S EXISTS/K
 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:  Info Device Format:  Info Device
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:  Install Device/A NOBOOT/S CHECK/S FFS/S Format:  Install Device/A NOBOOT/S CHECK/S FFS/S
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:  IPrefs Format:  IPrefs
 Purpose: Initialises preferences files on startup. Purpose: Initialises preferences files on startup.
 Example: IPrefs Example: IPrefs
 +
 Join Join
 Format:  Join File/M/A AS=TO/K/A Format:  Join File/M/A AS=TO/K/A
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:  Lab Label Format:  Lab Label
Line 261: Line 299:
 Parameters: Label = Name of label Parameters: Label = Name of label
 Example: Lab PROC2 Example: Lab PROC2
 +
 List List
 Format:  List Dir/M P=PAT/K KEYS/S DATES/S NODATES/S To/K Sub/K Format:  List Dir/M P=PAT/K KEYS/S DATES/S NODATES/S To/K Sub/K
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:TempFiles Example: MakeDir DH1:Docs DH1:Basic DH0:TempFiles
 +
 MakeLink MakeLink
 Format:  MakeLink From/A To/A HARD/S FORCE/S Format:  MakeLink From/A To/A HARD/S FORCE/S
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:  Mount Device/M From/K Format:  Mount Device/M From/K
Line 315: Line 357:
         Smart,Wait,Close         Smart,Wait,Close
 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:0/10/400/200/Shell/CLOSE Example: Newcli CON:0/10/400/200/Shell/CLOSE
  
Line 329: Line 371:
 Format:  Path Path/M ADD/S SHOW/S RESET/S REMOVE/S QUIET/S Format:  Path Path/M ADD/S SHOW/S RESET/S REMOVE/S QUIET/S
 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:  Relabel Drive/A Name/A Format:  Relabel Drive/A Name/A
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: "Documents" Example: Relabel DF0: "Documents"
 +
 RemRAD RemRAD
 Format:  RemRAD Device FORCE/S Format:  RemRAD Device FORCE/S
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:  Rename From/A/M To=As/A QUIET/S Format:  Rename From/A/M To=As/A QUIET/S
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:  RequestChoice  Title/A Body/A Gadgets/M PubScreen/K Format:  RequestChoice  Title/A Body/A Gadgets/M PubScreen/K
 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 "Format" "About to format your hard Example: RequestChoice >ENV:RT "Format" "About to format your hard
         disk*nAre you sure?" "Go ahead" "No way!"         disk*nAre you sure?" "Go ahead" "No way!"
 +
 RequestFile RequestFile
 Format:  RequestFile Drawer File/K Pattern/K Title/K Positive/K Format:  RequestFile Drawer File/K Pattern/K Title/K Positive/K
         Negative/K AcceptPattern/K RejectPattern/K SAVEMODE/S         Negative/K AcceptPattern/K RejectPattern/K SAVEMODE/S
         MULTISELECT/S DRAWERSONLY/S NOICONS/S PUBSCREEN/K         MULTISELECT/S DRAWERSONLY/S NOICONS/S PUBSCREEN/K
-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 >ENV:File Title "Select a File" Positive "Load" Noicons Example: RequestFile >ENV:File Title "Select a File" Positive "Load" Noicons
 +
 Resident Resident
 Format:  Resident Name File REMOVE/S ADD/S REPLACE/S PURE=FORCE/S SYSTEM/S Format:  Resident Name File REMOVE/S ADD/S REPLACE/S PURE=FORCE/S SYSTEM/S
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's resident code segments.+Add = Add file to resident memory, Pure|Force = Force a non-pure file to be resident,  
 +System = Show system's resident code segments.
 Example: Resident C:Dir Pure Example: Resident C:Dir Pure
 +
 Run Run
 Format:  Run Command/F Format:  Run Command/F
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:  Search From/M Search/A ALL/S NONUM/S QUIET/S QUICK/S Format:  Search From/M Search/A ALL/S NONUM/S QUIET/S QUICK/S
         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, NoNum = Line +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, NoNum = Line numbers are not displayed, Quiet = No Output, Quick = Reduce  
-content, Pattern = Search using a pattern.+output listing, File = Search a file rather than content, Pattern = Search using a pattern.
 Example: Search SYS: "List" File All Example: Search SYS: "List" File All
 +
 Set Set
 Format:  Set Name String/F Format:  Set Name String/F
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 "Peter" Example: Set MyName "Peter"
 +
 SetClock SetClock
 Format:  Setclock LOAD/S SAVE/S RESET/S Format:  Setclock LOAD/S SAVE/S RESET/S
 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:  Setdate File/A Weekday Date Time ALL/S Format:  Setdate File/A Weekday Date Time ALL/S
 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:  Setenv Name String/F Format:  Setenv Name String/F
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 "3.1" Example: Setenv Workbench "3.1"
 +
 Setfont Setfont
 Format:  Setfont Name/A Size/N/A SCALE/S PROP/S ITALIC/S Format:  Setfont Name/A Size/N/A SCALE/S PROP/S ITALIC/S
         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:  Setkeyboard Keymap/A Format:  Setkeyboard Keymap/A
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:  SetMap <keymap id> Format:  SetMap <keymap id>
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:  Setpatch QUIET/S NOCACHE/S REVERSE/S NOAGA/S Format:  Setpatch QUIET/S NOCACHE/S REVERSE/S NOAGA/S
 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:  Setpatch QUIET/S NOCACHE/S REVERSE/S NONSD/S NOAGA/S PATCHCONFIGFILE=PCF/K Format:  Setpatch QUIET/S NOCACHE/S REVERSE/S NONSD/S NOAGA/S PATCHCONFIGFILE=PCF/K
Line 459: Line 523:
 Purpose: Patch Operating System functions, enable/disable rom updates, disable Purpose: Patch Operating System functions, enable/disable rom updates, disable
 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,WaitForValidate = Waits for all volumes to be+install ROM updates, DisableRomModules = Remove some ROM modiles (can cause a crash),  
 +SkipRomUpdates = Skip following updates,WaitForValidate = Waits for all volumes to be
 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:  Skip Label BACK/S Format:  Skip Label BACK/S
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:  Sort From/A To/A Colstart/K CASE/S NUMERIC/S Format:  Sort From/A To/A Colstart/K CASE/S NUMERIC/S
 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:  Stack Size/N Format:  Stack Size/N
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:  Status Process/N FULL/S TCB/S CLI=ALL/S COM=COMMAND/K Format:  Status Process/N FULL/S TCB/S CLI=ALL/S COM=COMMAND/K
 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 except +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 the command name, CLI|All = Command info only, COM|Command = Search for command.
 Example: Status 2 Full Example: Status 2 Full
 +
 Type Type
 Format:  Type From/A/M TO/K OPT H|N/K HEX/S NUMBER/S Format:  Type From/A/M TO/K OPT H|N/K HEX/S NUMBER/S
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:  Unset Name Format:  Unset Name
Line 501: Line 572:
 Parameters: Name = Environment variable name Parameters: Name = Environment variable name
 Example: Unset MyName Example: Unset MyName
 +
 UnSetEnv UnSetEnv
 Format:  UnSetEnv Name Format:  UnSetEnv Name
Line 506: Line 578:
 Parameters: Name = Environment variable name Parameters: Name = Environment variable name
 Example: UnSetEnv Workbench Example: UnSetEnv Workbench
 +
 Unalias Unalias
 Format:  Unalias Name Format:  Unalias Name
Line 511: Line 584:
 Parameters: Name = Alias name Parameters: Name = Alias name
 Example: UnAlias MyDir Example: UnAlias MyDir
 +
 Version Version
 Format:  Version Name Version/N Revision/N FILE/S FULL/S Format:  Version Name Version/N Revision/N FILE/S FULL/S
         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, Internal = Check internal files, Res = Check resident files.+file rather than memory, Full = Display full information, Internal = Check internal files,  
 +Res = Check resident files.
 Example: Version kickstart Version=39 Revision=106 Example: Version kickstart Version=39 Revision=106
 +
 Wait Wait
 Format:  Wait Time/N SEC=SECS/S MIN=MINS/S UNTIL/K Format:  Wait Time/N SEC=SECS/S MIN=MINS/S UNTIL/K
 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:  Which File/A NORES/S RES/S ALL/S Format:  Which File/A NORES/S RES/S ALL/S
 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:  Why Format:  Why
 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)
  
-  +</code>
-Additional AmigaDOS commands+
  
 +====== Additional AmigaDOS commands ======
 +
 +<code>
 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],,, [TO dev:] [LOW lowtrack] [HIGH hightrack] [NOVAL] [NOTEXT] [NOPAUSE [DECRYPT password]+ [HIGH hightrack] [NOVAL] [NOZERO] [ENCRYPT password] 
 + 
 +DMS Write file[.DMS],,, [TO dev:] [LOW lowtrack] [HIGH hightrack] [NOVAL] [NOTEXT] 
 + [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],,, [FULL] DMS Text file[.DMS],,, DMS View file[.DMS],,, [FULL] DMS Text file[.DMS],,,
 +
 DMS Test file[.DMS],,, DMS Help DMS Test file[.DMS],,, DMS Help
 +
 Purpose:  To read, write or view Disk Masher disk images of floppy disks. Purpose:  To read, write or view Disk Masher disk images of floppy disks.
 Example: DMS Write MyDisk.DMS FROM DF0: Example: DMS Write MyDisk.DMS FROM DF0:
 +
 +
 Installer Installer
-Format:  Installer [SCRIPT] filename <[APPNAME] name> <[MINIUSER] level> <[DEFUSER] default> <[LOGFILE] +Format:  Installer [SCRIPT] filename <[APPNAME] name> <[MINIUSER] level> 
-logname> <[LANGUAGE] language> <NOPRETEND> <NOLOG> <NOPRINT> + <[DEFUSER] default> <[LOGFILE] logname> <[LANGUAGE] language> <NOPRETEND> <NOLOG> <NOPRINT> 
-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:MyProgram.log Example: Installer SCRIPT InstallApp APPNAME MyProgram LOGFILE DH0:MyProgram.log
 +
 LHA LHA
-Format:  LHA [-options] <command> <archive[.LZH|LHA]> [[homedir] <filespec...] [@file] [destination]+Format:  LHA [-options] <command> <archive[.LZH|LHA]> [[homedir] <filespec...]  
 + [@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        (lists all files in pictures.lha) LHA l pictures.lha        (lists all files in pictures.lha)
 LHA x pictures.lha        (extracts all files from pictures.lha) LHA x pictures.lha        (extracts all files from pictures.lha)
 +
 LZX LZX
 Format:  LZX [-options] <command> <archive> [<file> ...] [<destdir>] Format:  LZX [-options] <command> <archive> [<file> ...] [<destdir>]
Line 579: Line 673:
 Clear Screen Clear Screen
 Example: Echo "*E[0;0H*E[J" Example: Echo "*E[0;0H*E[J"
-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.</code> *E[0m resets to normal character set.</code>
  
 +\\ 
 +
 +{{  :awschriftzug.gif?nolink|www.amigawiki.org}}
 ====== Links ====== ====== Links ======
-  * from: http://www.vware.at/winuaehelp/+  * to sources 
 +    * http://www.vware.at/winuaehelp/ 
 +  * to documentations
  
 +{{page>en:system:quicklinks_system}}
Last modified: 2013/09/02 02:50