EAC Command-Line Switches

From Hydrogenaudio Knowledgebase
Revision as of 20:19, 20 October 2024 by Korth (talk | contribs) (add external links heading)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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] Do not send 'Stop' command on playing audio
-NOTESTUNIT [1] Do not use '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.


External links