Command Line Parameters

Command line parameters change the way GoldWave starts when run from the Windows Command Prompt. Use the parameters to open, play, or record files, or to run batch processing. Also use the parameters when manually associating a file type with GoldWave. A parameter must be prefixed with - (minus), as shown.

Syntax:

"C:\Program Files\GoldWave\GoldWave.exe" -parameter "filename" ...

Quotes are required around the program path and the filename. Parameters are not case sensitive. Multiple filenames and parameters can be given. Wildcards (*, ?) are supported in filenames. All files are opened or processed.

Command Line Parameters
Parameter Purpose
-clipboard:filename Copies the specified file to the clipboard for batch processing. This can be used only with -process. If the filename contains spaces, double quotation marks must enclose the entire parameter.

Example

"C:\Program Files\GoldWave\GoldWave.exe" -process:Mix "My Music.wav" "-clipboard:My Vocals.wav"
-close Closes the program after playing the file on the command line. This parameter must be used with -play. If the user interacts with the program, it may not be closed.

Example

"C:\Program Files\GoldWave\GoldWave.exe" -play -close "C:\My Music\Song.mp3"
-config Displays the Setup Options window to configure core functionality in GoldWave. This is the same as using GoldWave Setup from the Windows Start menu.

Use this only when the program is not functioning correctly due to hardware or operating system limitations or problems. Buttons to backup and restore all GoldWave settings and presets to and from a separate file are found on this window.

-new(duration,rate,channels):filename Creates a new file using the default File | New settings if no other information is given. Use this with -record to start recording in a new file from the command line.

The duration, sampling rate, channels, and filename may be specified on the command line as shown. The default save format is used when saving the file.

When specifying a new filename on the command line, the file is overwritten without warning!

Examples

"C:\Program Files\GoldWave\GoldWave.exe" -new
"C:\Program Files\GoldWave\GoldWave.exe" -new:Sample.wav
"C:\Program Files\GoldWave\GoldWave.exe" "-new(60):One Minute Mono.wav"
"C:\Program Files\GoldWave\GoldWave.exe" "-new(300, 48000, 2):Five Minutes DAT.wav"
-nosplash Suppresses the splash window when starting the program.
-outfolder Specifies the destination folder for all processed files for batch processing, overriding the batch preset Folder settings. If the folder name contains spaces, double quotation marks must enclose the entire parameter. If the folder hierarchy is to be preserved, then that option must be selected in the preset. This can be used only with -process.
-play Plays the file given on the command line. Use -close to automatically close the program after the file has finished playing. Only the first file on the command line is played.
-process
-proclog
Starts GoldWave in batch processing mode. Most other parameters are ignored. See File | Batch Processing for details.
-record Start recording in the file given on the command line or in a new file. Use with -new to create a new file for recording.

Example
Opens the program and starts recording in a new file:

"C:\Program Files\GoldWave\GoldWave.exe" -record

Example
If Auto save is enabled, then the following command line creates a new 3 minute file, records, saves it, then closes the program:

"C:\Program Files\GoldWave\GoldWave.exe" -new(180):newfile.wav -record -close

When specifying a filename on the command line, an existing file with that name is overwritten without warning!

-region:start,length Sets the initial selection for the first audio file given on the command line. start is the starting point in samples. length is the number of samples to select. If either start or length contain a decimal point, then both values are assumed to be units of time rather samples.

Examples

"C:\Program Files\GoldWave\GoldWave.exe" -region:10.0,7.5 music.wav
"C:\Program Files\GoldWave\GoldWave.exe" -region:441000,330750 music.wav
-same Opens a file in the current running instance of GoldWave rather than starting another copy of the program. Use this when associating a file type with the program. The window of the current instance is brought to the foreground. To prevent that, use -notop. Use the Setup Options window to change this setting.
-subfolders Includes all subfolders when used with batch processing and a patterned filename is given (such as *.wav). This can be used only with -process. Before using this parameter, folder settings for the preset must be set appropriately under the Destination Tab of Batch Processing.

Example

"C:\Program Files\GoldWave\GoldWave.exe" "-process:iTunes to MP3" "C:\My Music\*.m4a" -subfolders