|
Command Line Options (Overview) |
Previous Next |
|
All functions of this program may also be called from within "batch files" using so-called "command line options". This is of special interest to companies that have to perform many installations.
Call: DSDOS.EXE [/Hidden] [/File[:Script]] [/MBR[:File][,HDDn]] [/ClearMBR[,HDDn]] DSWin.exe [/Partition[:n[,HDDn][=tt|:File|:s]|:[NNN]-[s][,HDDn]|,HDDn]] [/Harddisk:n:s] [/Reboot[:Off]] [/Password:PPP] [/?]
/Hidden Suppresses screen output. Return: None.
/File Reads commands from respective file of "DSDOS.SCR" or "DSWin.scr". Details in the following section. Return: Taken over by last command or "0", if the file "Script" was not found.
/File:Script Reads commands from file "Script". Details in the following section. Return: Taken over by last command or "0", if the file "Script" was not found.
/MBR Reinitializes the bootstrap in the master boot record, a default bootstrap will be generated. Return: "1", if successful.
/MBR:File Loads the master boot record. Return: "1", if successful.
/ClearMBR Deletes die MBR partition table(s). Return: "1", if successful.
/Partition Indicates the partition table. Return: Number of existing partitions.
/Partition:n Activates the "n"th partition. Return: "n", if partition exists.
/Partition:n:File Loads the "n"th partition from the file "file". Return: "n", if partition exists.
/Partition:n:s Loads the "n"th partition from "s"th partition. (Copy) Return: "n", if successful.
/Partition:n=tt Changes the type of the "n"th partitons. tt is the type in hex Return: "n", if partition exists.
/Partition:NNN-s Adds a new partition. NNN: Name of the partition s: Size in megabytes The "-" has to be given also the "s" is not present. Return: Count of partitions after adding the partition.
/Harddisk:n:s Loads the "n"th harddisk from "s"th harddisk. (Copy) Return: "n", if successful.
/Reboot Reboots the system (reset).
/Reboot:Off Turn off the system (requires "Advanced Power Management v1.2"). Return: "0", if not successful.
/Password:PPP Permits calling the program and, if needed, creates a new password. This command might have to be issued first! PPP: Password for the bootmanager BootStar Return: "1", if incorrect password was indicated.
/? Displays this help.
The parameter "[,HDDn]" indicates the harddisk. All entries start with "1" (e.g., 1st harddisk: ",HDD1"; 1st partition: "/Partition:1"). The return value "0" (zero) always refers to an error (if not indicated otherwise).
See also:
|