Note: This feature is only available in WavePad Master's Edition.You can easily control WavePad from the command line. The WavePad executable is usually located at "C:\Program Files\NCH Software\WavePad\wavepad.exe". The usage of command-line is: Usage: wavepad.exe [options] [file(s) to edit] OPTIONS: is where you can issue a series of commands to WavePad. The options are: - -save
- Save the current file.
- -saveas <filepath>
- Save the current file with a new name or format, where 'filepath' is the full path of the output file
- -play
- Plays the currently active file.
- -record
- Record audio.
- -stop
- Stops the currently playing file.
- -restart
- Sets the cursor to the start of the current file.
- -close
- Close the current file.
- -exit
- Exit WavePad.
- -minimize
- Minimize WavePad window into an icon in the system tray .
- -maximize
- Maximize WavePad window fit the full size of your monitor, with the exception of the task bar.
- -restore
- If the WavePad window is minimized or maximized, the system restores it to its original size and position.
- -window <width> <height>
- Set the width and height of the WavePad window. where 'width' is the width of the window in pixels, and 'height' is the height of the window in pixels.
- -list [listfilepath]
- ListFilePath is a text file containing a list of files that you want to load into WavePad. One file path per line.
- -batch
-
- -batch [filepath] [filepath]
- Add the specified file(s) to the WavePad batch converter file list. If file path is not specified, WavePad will just open the Batch Converter Window. where: [filepath] the full path of the file that you want to add to the batch converter file list.
- -batch -inpdir [folderpath] [filepath] [filepath]
- -inpdir option adds the the files from the folder and its sub-folders recursively. Where [folderpath] is the full path of the folder that holds the audio files. Specific file list can also be used with –inpdir command.
- -batch [scriptfilepath] -inpdir [folderpath] [filepath]
- [scriptfilepath] is the script file which holds all the commands that’s been applied to the files. The Wavepad batch script file holds the extension .wpb. If absolute path is not given for scrip file, Wavepad will try to find the script file from the –inpdir command.
- -batch [scriptfilepath] -inpdir [folderpath] [filepath] –destdir [OutputDir]
- -destdir specifies the destination directory of the output files. Where [OutputDir] is the output directory of the output files. If –destdir is not used –inpdir is used as the destination directory.
- -batch [scriptfilepath] -inpdir [folderpath] [filepath] –output .mp3
- -output option specifies the output format of the converted files supported by WavePad. The format type name should precede with a dot (.), e.g. '.mp3' or '.wav'.
- -batch [scriptfilepath] -inpdir [folderpath] [filepath] –output .mp3 –run
- -run option executes the batch conversion command. This exits the BatchConverter but not WavePad.
- -batch [scriptfilepath] -inpdir [folderpath] [filepath] –output .mp3 –quit
- -quit option executes the batch conversion and then exits WavePad.
- FILE(s) TO EDIT:
- Where you type in the files you want to load into WavePad. All typed filenames must use the full filepath of the name, and circumfixed with inverted commas.
Examples: wavepad.exe -save -close wavepad.exe -saveas "C:\\My Music\\MyNewFile.mp3" -exit wavepad.exe -minimize wavepad.exe -maximize wavepad.exe -restore wavepad.exe -window 800 600 wavepad.exe -batch "C:\\My Music\\MyNewFile.mp3" wavepad.exe -batch -inpdir "C:\\MusicFolder" "C:\\My Music\\MyNewFile.mp3" wavepad.exe -batch -inpdir "C:\\MusicFolder" "C:\\My Music\\MyNewFile.mp3" script.wpb wavepad.exe -batch -inpdir "C:\\MusicFolder" script.wpb -destdir "C:\\Convert" -output .wav -run wavepad.exe -batch "C:\\My Music\\MyNewFile.mp3" -destdir "C:\\Convert" -output .wav -quit wavepad.exe -list "C:\\My Music\\MyFileList.txt" wavepad.exe "C:\\My Projects\\WavePadProject.wpp" wavepad.exe "C:\\My Music\\Music1.wav" "C:\\My Music\\Music1.mp3" |