Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
appendices:commandlinearguments [2012/11/07 19:01]
floele
appendices:commandlinearguments [2017/04/09 16:42]
floele drive letter
Line 21: Line 21:
 </​code>​ </​code>​
  
-Except for //​--list-drives//,​ all actions need at least one further argument, the //-device// parameter. The //​--list-drives//​ action provides a list of all drives and the drive numbers to use.+Except for //​--list-drives//,​ all actions need at least one further argument, the //-device// parameter. The //​--list-drives//​ action provides a list of all drives and the drive numbers to use. You can also use a drive letter.
  
 Example: Example:
Line 44: Line 44:
   : Adds a file from sourcePath to the targetFolder on disc. You can add as many of these directives as you want. A path that contains spaces must be enclosed in double quotes.   : Adds a file from sourcePath to the targetFolder on disc. You can add as many of these directives as you want. A path that contains spaces must be enclosed in double quotes.
   ; -folder[\targetFolder]:​sourcePath   ; -folder[\targetFolder]:​sourcePath
-  ; -folder:​sourcePath (for audio) +  ; -folder:​sourcePath (for audio and video
-  : Adds a folder and all its contents to disc. You can add as many of these directives as you want. A path that contains spaces must be enclosed in double quotes.+  : Adds a folder and all its contents to disc. You can add as many of these directives as you want. A path that contains spaces must be enclosed in double quotes. For DVD-video, specify the full path of the VIDEO_TS folder.
   ; -speed:​[[wp>​X_(writing_speed)|ratio]] (since 4.3.1, for example "​24",​ "​8",​ "​4"​)   ; -speed:​[[wp>​X_(writing_speed)|ratio]] (since 4.3.1, for example "​24",​ "​8",​ "​4"​)
   : Specifies the speed for burning the disc.   : Specifies the speed for burning the disc.
Line 61: Line 61:
   ; -udf:​VERSION (since v. 4.3.2, 1.02 is the default)   ; -udf:​VERSION (since v. 4.3.2, 1.02 is the default)
   : Changes the file system version. Options available: 1.02, 1.5, 2.0, 2.01, 2.5, 2.6.   : Changes the file system version. Options available: 1.02, 1.5, 2.0, 2.01, 2.5, 2.6.
 +  ; -format:iso (since v. 4.5.1)
 +  : Instead of UDF, an ISO/Joliet file system is used for burning. The -udf flag does not apply then.
   ; -verify (since v. 4.1.3)   ; -verify (since v. 4.1.3)
   : Verifies the disc after burning.   : Verifies the disc after burning.
Line 67: Line 69:
   ; -layout:​PATH (since v. 4.1.3)   ; -layout:​PATH (since v. 4.1.3)
   : Instead of adding files from the //file// and //folder// options, it loads all contents from a data compilation (DXP file).   : Instead of adding files from the //file// and //folder// options, it loads all contents from a data compilation (DXP file).
 +  ​
 Example: Example:
  
 <​code>​--burn-data -device:0 -file[\]:​c:​\foo.db ​ <​code>​--burn-data -device:0 -file[\]:​c:​\foo.db ​
   -folder[\test]:​c:​\dell -name:​foobar</​code>​   -folder[\test]:​c:​\dell -name:​foobar</​code>​
 +
 +The //​--burn-video//​ action takes the following additional arguments (make sure to specify "​-folder"​ as explained above):
 +
 +  ; -name:NAME
 +  : Changes the disc's name to NAME (as it shows up in Windows Explorer). Maximum length: 16 chars.
 +  ; -iso:PATH (since v. 4.1.3)
 +  : Instead of burning the disc, creates an ISO image at the specified path.
 +
 +===== Return codes / errors =====
 +
 +If the desired action has been performed successfully,​ the application will return with exit code "​0"​. If any error occurs, a non-zero error code will be returned (check the [[References/​errorCodes|full list of error codes]] for more information).
 +
 +In case "​-sptd"​ is used and the driver is not installed or could not be loaded successfully,​ -1 is returned.
  
 {{template>:​sys:​version|ver=4.0.025}} {{template>:​sys:​version|ver=4.0.025}}