text
stringlengths
0
4.23k
bootcfg delete
Deletes an operating system entry in the [operating systems] section of the Boot.ini file.
bootcfg ems
Enables the user to add or change the settings for redirection of the Emergency Management Services console to a remote computer.
bootcfg query
Queries and displays the [boot loader] and [operating systems] section entries from Boot.ini.
bootcfg raw
Adds operating system load options specified as a string to an operating system entry in the [operating systems] section of the Boot.ini file.
bootcfg rmsw
Removes operating system load options for a specified operating system entry.
bootcfg timeout
Changes the operating system time-out value.
break
Important
This command is no longer in use. It is included only to preserve compatibility with existing MS-DOS files, but it has no effect at the command line because the functionality is automatic.
Sets or clears extended CTRL+C checking on MS-DOS systems. If used without parameters, break displays the existing setting value.
If command extensions are enabled and running on the Windows platform, inserting the break command into a batch file enters a hard-coded breakpoint if being debugged by a debugger.
Syntax
break=[on|off]
Note
Because the break command has no effect, it is often used to create empty files or delete the content of an existing file. For example:
rem -- cleans the content of the file --
break>log
cacls
Important
This command has been deprecated. Please use icacls instead.
Displays or modifies discretionary access control lists (DACL) on specified files.
Syntax
cacls <filename> [/t] [/m] [/l] [/s[:sddl]] [/e] [/c] [/g user:<perm>] [/r user [...]] [/p user:<perm> [...]] [/d user [...]]
Parameters
Parameter
Description
<filename>
Required. Displays ACLs of specified files.
/t
Changes ACLs of specified files in the current directory and all subdirectories.
/m
Changes ACLs of volumes mounted to a directory.
/l
Works on the Symbolic Link itself instead of the target.
/s:sddl
Replaces the ACLs with those specified in the SDDL string. This parameter is not valid for use with the /e, /g, /r, /p, or /d parameters.
/e
Edit an ACL instead of replacing it.
/c
Continue after access denied errors.
/g user:<perm>
Grants specified user access rights, including these valid values for permission:n - Noner - Readw - Writec - Change (write)f - Full control
/r user [...]
Revoke specified user's access rights. Only valid when used with the /e parameter.
[/p user:<perm> [...]
Replace specified user's access rights, including these valid values for permission:n - Noner - Readw - Writec - Change (write)f - Full control
[/d user [...]
Deny specified user access.
/?
Displays help at the command prompt.
<filename>
/g user:<perm>