Share via


Exec

 

Applies To: Windows Server 2008, Windows Server 2012, Windows 8

Executes a file on the local computer. The file can be a cmd script.

Syntax

exec <ScriptFile.cmd>

Parameters

Parameter

Description

<ScriptFile.cmd>

Specifies the script file to execute.

Remarks

  • This command is used to duplicate or restore data as part of a backup or restore sequence.

  • If the script fails, an error is returned and DiskShadow quits.

Additional references

Command-Line Syntax Key