Win2003(Commands).Pdf
Total Page:16
File Type:pdf, Size:1020Kb
SYSTEM At macfile directory: This command modifies directories in "@file.bks" The name of the file created with the GUI version Macintosh-accessible volumes. It allows you to do such of NTBackup which includes the list of files to back up. {System root}\system32 things as changing the owner of the directory, specifying or /j "job": The name of the job. You should put this in quotes. Schedules tasks to run on the specified system at a specific changing the Macintosh primary group associated with the [/p "pool"]: The media pool you would like to use for the date and time. directory, and setting permissions on the directory. backup. Invalidates use of the /a, /f, /g and /t parameters. at [\\computer name] [{[task id] [/delete [/yes]]}] macfile directory [/server:\\computer] /path:directory [/g "GUIDName"]: Specifies that the target tape should be at {[\\computer name] time [/interactive] [/every: | /next:] [/owner:name] [/group:group] [/permissions:permissions] overwritten or appended to. [/t "tape"]: The name of the tape. command} [/server:\\computer]: The server on which the directory should [/n "media"]: The new name of the tape. No parameters: Displays a list of the scheduled tasks on the be changed. The default is the local machine. [/f "file"]: The file to which you would like to write the contents local system. directory: The directory you would like to change. /path: of the backup. \\computer name: Run the command against the name of the [/owner:user]: Changes the ownership of the directory to the [/d "description"]: The description of the backup set. system specified. specified user. [/ds "server"]: The name of an Exchange server for which the [task id] [/delete [/yes]]: The ID of the task you wish to view group]: Changes the Macintosh primary group to the [/group: directory service file should be backed up. or delete. Specify /delete to delete this task and /delete /yes name specified. [/hc: {on | off}]: Enable or disable hardware compression. to delete it without a warning prompt. [/permissions:permissions]: Sets permissions on the [/is "server"]: The name of an Exchange server for which the time: Specify the hour:minute in 24 hour notation at which you directory. information store should be backed up. would like to run the command. macfile server: This command changes the SFM server [/a]: Appends the backup to the media set. Requires the use of [/interactive]: Allows the command specified to interact with configuration. You’ll use it to specify the maximum number of /g or /t. the desktop with the credentials of the logged in user. users that can use SFM, change the logon message [/l:{f | n | s}]: The type of log file that will be created for this [/every: | /next:]: Enter the name of the day (M,T,W,Th,F,S,Su) Macintosh users see, and specify whether guest users are job. f=full, n=none, s=summary only. or the day of the month that the command should be run. allowed to access the server. [/m {normal | copy | differential | incremental | daily}]: Multiple entries can be entered by separating them with Specifies the type of backup that should be performed. commas. /every runs the command on every day specified macfile server [/server:\\computer] [/maxsessions: Only these five options are permitted. The default is normal. while /next runs it on the next occurrence of that date. {number | unlimited}] [/loginmessage:message] [/r:{yes | no}]: Restricts access to the resulting to the owner of command: The command that is scheduled to be run. [/server:\\computer]: The server on which you wish to change parameters. The default is the local machine. the job or a member of the Administrators group. Cprofile [/maxsessions:{number | unlimited}]: The maximum number [/rs:{yes | no}]: Backs up migrated data files in Remote Storage. {System root}\system32 of users that can use the service simultaneously. [/loginmessage:message]: Provide a message of up to 199 [/snap:{on | off}]: Should the backup use the raw data or Cleans profiles of wasted space to free up disk space and characters that is shown to the Macintosh user upon login. should it back up from the contents of a volume shadow optimize system performance. To remove a message, include this parameter but leave the copy? On=use the shadow, off=use the raw data. cprofile [/i] [/l] [/v] file list value blank. [/v:{yes | no}]: Should the integrity of the backup be verified when it is complete? [/I]: For each profile, the user is prompted to approve the action. macfile forkize: This command joins the data fork and [/l]: Cleans all local profiles. When /l is specified, a file list is resource fork of a Macintosh file into one file. You can also Regsvr32 not required. use Macfile forkize to change the type or creator of the file. [/v]: Verbose. Provides detailed information on the progress of {System root}\system32 macfile forkize [/server:\\computer] [/creator:name] the operation. Registers a DLL. [/type:name] [/datafork:path] [/resourcefork:path] file list: The list of files from which user-specific file /targetfile:path regsvr32 [/i[:cmdline]] [/n] [/s] [/u] dllName associations should be removed. [/server:\\computer]: The server on which you wish to [/i[:cmdline]]: A command line that will be passed through to dllinstall. on of this publication in any form is prohibited. Date change parameters. The default is the local machine. [/n]: Used with /i only. Indicates that DllRegisterServer is not to {No executable. Part of the command shell.} [/creator:name]: Specify the name of the person who created the file. be called. Shows or sets the system date [/type:name]: The type of the file [/s]: Run regsvr32 in silent mode with no messages. date [month-day-year]] [/t] [/datafork:path]: The location of the data fork to join. A remote [/u]: Uninstall the dll specified. dllName: The name of the dll to register or uninstall. No parameters: Prompts the user for the date. location is allowed. [/resourcefork:path]: The location of the resource fork to join. month-day-year: The month, day and year to which to set the Runas date. The year can be provided with two or four digits. A remote location is allowed. [/t]: Just displays the current date. /targetfile:path: The location of the resulting file. {System root}\system32 Allows a program to be run within the context of a different Exit Ntbackup user. {No executable. Part of the command shell.} {System root}\system32 runas [/env] [/netonly] [/profile | /noprofile] /user: Exits the command shell or script. The built-in Windows backup utility. Supports Exchange when username program Exchange is installed. exit [/b] [code] [/env]: Uses the current network environment rather than the ntbackup backup [systemstate] "@file.bks" /j "job" user’s local environment. No parameters: Exit the current shell. [/p "pool"] [/g "GUIDName"] [/t "tape"] [/n "media"] [/netonly]: The information provided is for remote access only. [/b]: Exits the running batch script. [/f "file"] [/d "description"] [/ds "server"] [/hc:{on | off}] [/profile | /noprofile]: /profile will load the user’s profile and is [code]: The code with which to terminate the command shell [/is "server"] [/a] [/l:{f | n | s}] [/m {normal | copy | the default behavior. Specify /noprofile to avoid loading the or script. differential | incremental | daily}] [/r:{yes | no}] user’s profile. Macfile [/rs:{yes | no}] [/snap:{on | off}] [/v:{yes | no}] /user:username: The account under which the application should run in domain\user format. {System root}\system32 backup: Required parameter [systemstate]: Will include system state information in the program: The program to run. Allows command line management of the Services for backup. Macintosh. FILE SYSTEM Cacls /p: user:permission: Replaces the current access rights with chkntfs /x volume:[volume:] […] the specified permissions for the user provided. (see below {System root}\system32 volume: Required unless other parameters are specified. for permission table) Shows the volume type (FAT/FAT32/NTFS) of the volume as View or modify the access control list (ACL) on the files specified. [/d]: Denies access to the specified user. well as whether or not it is dirty. cacls <filename> [Options] Permission table /c: Includes the volume in the list to be checked at system start. [Options] n: none /d: Restores chkntfs settings to their defaults which scan each [/t] [/e [/r user [/r user] […]]] [/c] [/g user:permission] r: read volume at system boot. [/p user:permission [...]] [/d user [/d user] […]] w: write /t[:time]: When a time is specified, this is the amount of time Filename: The filename for which to view or modify ACLs. c: write/change/modify that is used by the countdown timer. When specified without When specified without options, displays the ACL. f: full control a time: displays the current value for the parameter. [/t]: Changes the ACL of the specified file(s) in both the current /x: Excludes the volume from being checked at system start. and all subdirectories. Chkntfs [/e]: Specifies that the ACL is edited rather than replaced. {System root}\system32 Cipher [/r user]: Revokes the access rights for the user specified. Manages whether or not an automatic volume check of a FAT, {System root}\system32 Must be used with /e. FAT32 or NTFS drive will take place at system start. Show or modify the state of encryption on files and folders. [/c]: Continues with the process even when errors are chkntfs volume: [volume:] cipher encountered. chkntfs /c volume: [volume:] […] No parameters: Shows the encryption status of every file in [/g]: user:permission: Grants the permission specified to the chkntfs /d the current directory. user provided. (see below for permission table) chkntfs /t[:time] Continued on next page © 1995-2003 CNET logo are trademarks of CNET and its reserved.