EAC Command-Line Switches: Difference between revisions

From Hydrogenaudio Knowledgebase
(Initial page creation)
 
m (minor edit)
Line 1: Line 1:
[[Exact Audio Copy]] (EAC) provides several startup command-line switches that can be used in Windows shortcuts, the Windows "Send to" menu, scripts, or batch files.
[[Exact Audio Copy]] (EAC) provides several startup command-line switches that can be used in Windows shortcuts, the Windows "Send to" menu, scripts, or batch files.
Multiple switches are permitted.  
Multiple switches are permitted.  
Switches may be uppercase or lowercase.  
Switches may be UPPERCASE or lowercase.  
A space is required preceding each switch.
A space is required preceding each switch.


Line 110: Line 110:
|-
|-
| -TESTANDCOPY <ref>Requires one of the following switches: -EXTRACTWAV, -EXTRACTMP3, -IMAGEWAV, or -IMAGEMP3</ref>  
| -TESTANDCOPY <ref>Requires one of the following switches: -EXTRACTWAV, -EXTRACTMP3, -IMAGEWAV, or -IMAGEMP3</ref>  
| Perform Test & Copy instead of just Copy
| Perform Test & Copy instead of just Copy (requires an -EXTRACT... or -IMAGE... switch)
|-
|-
| -OUTPUTDIRECTORY "''path''\" <ref>Replace ''path''\ with actual path to directory (the directory path should end with backslash {{code|\}})</ref> <ref name="not used">When this switch is not used, EAC will use the information that was used in the previous session.</ref>
| -OUTPUTDIRECTORY "''path''\" <ref>Replace ''path''\ with actual path to directory (the directory path should end with backslash {{code|\}})</ref> <ref name="not used">When this switch is not used, EAC will use the information that was used in the previous session.</ref>

Revision as of 15:57, 20 October 2024

Exact Audio Copy (EAC) provides several startup command-line switches that can be used in Windows shortcuts, the Windows "Send to" menu, scripts, or batch files. Multiple switches are permitted. Switches may be UPPERCASE or lowercase. A space is required preceding each switch.

Examples:

"C:\Program Files (x86)\Exact Audio Copy\EAC.exe" -nocdtext -nomultisession
"C:\Program Files (x86)\Exact Audio Copy\EAC.exe" -testandcopy -imagewav -outputdirectory "D:\music\cdimage\" -close


Command-line switches
Improve compatibility with some non-standard drives
Switch Description
-NOSTOPCOMMAND [1] Not sending 'Stop' command on playing audio
-NOTESTUNIT [1] Not using 'Test Unit Ready' command
-NOSPEEDSEL [1] No speed selection
-NOREADSUB [1] No reading of subcodes
-NOCDTEXT [2] No reading of CD-Text
-NOMULTISESSION [2] No multisession detection
-HTTP1.0 [3] Uses HTTP 1.0 instead of 1.1
-SETFOCUS Could fix set focus problem on buttons in UI
-NOSHOWBUFFER Show no Buffer Information when burning a CD (Write CD-R)
-FORCERAW Forces RAW mode when burning a CD (Write CD-R)
-FORCEPLEXTOR Forces Plextor mode when burning a CD (Write CD-R)
-FORCETEAC Forces Teac mode when burning a CD (Write CD-R)
-FORCESONY Forces Sony when burning a CD (Write CD-R)
-SLOWCONNECT Increases timeout duration for internet connections
Additional settings
Switch Description
-FORCEDISABLECACHE Tries to set a mode that drive doesn't do caching
-USEFUA [4] Activates 'Force Unit Access' on some drives, e.g. Plextor )
-LONGBEEP Uses a different Beep when extraction is finished
-ERRORGREY Shows the error dots in a different color
-OPENCONSOLE Shows a CMD console to see additional debug output (extensive)
-NOCORRECTION No correction for CD-Text retrieval (uppercase/lowercase)
Helper functions
Switch Description
-REPAIRDB Attempts to repair the CDDB.sdf database when it is corrupt
Extraction related functions
Switch Description
-EXTRACTWAV [5] Copy (extract) all tracks > uncompressed
-EXTRACTMP3 [5] [6] [7] Copy (extract) all tracks > compressed
-IMAGEWAV [5] Copy (extract) Image & Create CUE Sheet > uncompressed
-IMAGEMP3 [5] [6] Copy (extract) Image & Create CUE Sheet > compressed
-TESTANDCOPY [8] Perform Test & Copy instead of just Copy (requires an -EXTRACT... or -IMAGE... switch)
-OUTPUTDIRECTORY "path\" [9] [10] Sets the output directory (overrides setting in EAC Options > Directories).
-EXTRACTIONWINDOWCLOSE Closes extraction window automatically when extraction has finished
-CLOSE Closes EAC after extraction
-DRIVE n [10] Selects the drive number to use on Startup (1st drive is 0).
Write CD-R
Switch Description
"path-to-file\filename.cue" [11] Passing a <file>.CUE into EAC as a switch directly loads the CUE sheet into the CD Layout Editor


Notes:

  1. a b c d This switch may help to prevent EAC from crashing on some systems.
  2. a b Some drives have problems reading extended TOC information from CDs. This switch may help prevent crash when starting EAC or inserting a CD.
  3. probably obsolete
  4. will not work for most drives
  5. a b c d Starts EAC with 10 second countdown giving the user the opportunity to cancel the extraction.
  6. a b uses settings from Compression Options
  7. uses naming scheme(s) from EAC Options > Filename and (when used) EAC Options > Additional Filename
  8. Requires one of the following switches: -EXTRACTWAV, -EXTRACTMP3, -IMAGEWAV, or -IMAGEMP3
  9. Replace path\ with actual path to directory (the directory path should end with backslash \)
  10. a b When this switch is not used, EAC will use the information that was used in the previous session.
  11. Replace path-to-file and filename with actual path and name of file.