text
stringlengths
0
4.23k
Opens a saved console in author mode. Used to make changes to saved consoles.
/64
Opens the 64-bit version of mmc (mmc64). Use this option only if you are running a Microsoft 64-bit operating system and want to use a 64-bit snap-in.
/32
Opens the 32-bit version of mmc (mmc32). When running a Microsoft 64-bit operating system, you can run 32-bit snap-ins by opening mmc with this command-line option when you have 32-bit only snap-ins.
<path>\<filename>.msc
Remarks
You can use environment variables to create command lines or shortcuts that don't depend on the explicit location of console files. For instance, if the path to a console file is in the system folder (for example, mmc c:\winnt\system32\console_name.msc), you can use the expandable data string %systemroot% to specify the location (mmc%systemroot%\system32\console_name.msc). This may be useful if you're delegating tasks to people in your organization who are working on different computers.
When consoles are opened using the /a option, they're opened in author mode, regardless of their default mode. This doesn't permanently change the default mode setting for files; when you omit this option, mmc opens console files according to their default mode settings.
After you open mmc or a console file in author mode, you can open any existing console by clicking Open on the Console menu.
You can use the command line to create shortcuts for opening mmc and saved consoles. A command-line command works with the Run command on the Start menu, in any command-prompt window, in shortcuts, or in any batch file or program that calls the command.
mode
Displays system status, changes system settings, or reconfigures ports or devices. If used without parameters, mode displays all the controllable attributes of the console and the available COM devices.
Serial port
Configures a serial communications port and sets the output handshake.
Syntax
mode com<m>[:] [baud=<b>] [parity=<p>] [data=<d>] [stop=<s>] [to={on|off}] [xon={on|off}] [odsr={on|off}] [octs={on|off}] [dtr={on|off|hs}] [rts={on|off|hs|tg}] [idsr={on|off}]
Parameters
Parameter
Description
com<m>[:]
Specifies the number of the async Prncnfg.vbshronous communications port.
baud=<b>
Specifies the transmission rate in bits per second. The valid values include:11 - 110 baud15 - 150 baud30 - 300 baud60 - 600 baud12 - 1200 baud24 - 2400 baud48 - 4800 baud96 - 9600 baud19 - 19,200 baud
parity=<p>
Specifies how the system uses the parity bit to check for transmission errors. The valid values include:n - nonee - even (default value)o - oddm - marks - spaceNot all devices support using the m or s parameters.
data=<d>
Specifies the number of data bits in a character. Valid values range from 5 through 8. The default value is 7. Not all devices support the values 5 and 6.
stop=<s>
Specifies the number of stop bits that define the end of a character: 1, 1.5, or 2. If the baud rate is 110, the default value is 2. Otherwise, the default value is 1. Not all devices support the value 1.5.
to={on | off}
Specifies whether the device uses infinite time out processing. The default value is off. Turning this option on means that the device will never stop waiting to receive a response from a host or client computer.
xon={on | off}
Specifies whether the system allows the XON/XOFF protocol. This protocol provides flow control for serial communications, enhancing reliability, but reducing performance.
odsr={on | off}
Specifies whether the system turns on the Data Set Ready (DSR) output handshake.
octs={on | off}
Specifies whether the system turns on the Clear to Send (CTS) output handshake.
dtr={on | off | hs}
Specifies whether the system turns on the Data Terminal Ready (DTR) output handshake. Setting this value to on mode, provides a constant signal to show the terminal is ready to send data. Setting this value to hs mode provides a handshake signal between the two terminals.
rts={on | off | hs | tg}
Specifies whether the system turns on the Request to Send (RTS) output handshake. Setting this value to on mode, provides a constant signal to show the terminal is ready to send data. Setting this value to hs mode provides a handshake signal between the two terminals. Setting this value to tg mode provides a way to toggle between ready and not ready states.
idsr={on | off}
Specifies whether the system turns on the DSR sensitivity. You must turn this option on to use DSR handshaking.
/?
Displays help at the command prompt.
com<m>[:]
baud=<b>
parity=<p>
data=<d>
stop=<s>
to={on | off}
xon={on | off}
odsr={on | off}
octs={on | off}
dtr={on | off | hs}
rts={on | off | hs | tg}
idsr={on | off}
Device status
Displays the status of a specified device. If used without parameters, mode displays the status of all devices installed on your system.