NCH Software Home
Home | Download | Support | Products | SiteMap

Can Switch run from the command line?

Yes, Switch Plus supports command line functionality.

The Switch command-line tool allows you to use Switch to convert files from the Windows command line. This can be used to let other software convert files with Switch or to automate batch conversions.

Important Note: Due to a limitation in the way Windows handles running graphical programs from the command line, Switch cannot give any feedback when an issued command has been completed, nor can it block the command line while a conversion is taking place. We are currently investigating possible ways to circumvent the Windows problem, but please note it down for now and take it into account when issuing command-line orders to Switch.

The Switch executable is usually located at "C:\Program Files\NCH Software\Switch\switch.exe"

Usage: switch.exe [options] [files to add]

"Options" is where you can issue a series of commands to Switch. The options are:

-convert - convert all files loaded into Switch.

-clear - remove all files loaded into Switch.

-addfolder [FOLDER_NAME] - add a folder of files into Switch.

-format [FORMAT_NAME] - specify the output file format for which to convert the loaded files. The format names are the file extensions for each format (e.g. .wav, .mp3).

-outfolder [FOLDER_NAME] - specify the output folder to store the converted files. Do NOT end the folder path with a backslash '\' character.

-settempfolder [FOLDER_NAME] - specify the temporary folder that Switch will store files in when playing or converting files. If the specified folder is not valid then no action will take place.

-overwrite [OVERWRITE_FLAG] - specifies what to do when the converted file already exists. The flags are "PROMPT" (Prompt for What to Do), "ALWAYS" (Overwrite the File), "NEVER" (Don't Convert the Original File), "CANCEL" (Abort All Conversions), "APPENDNUMBER [format]" (Append number to filename - [format] is optional, if blank it will use the format already specified in the program).

-settings [FORMAT_NAME] [SETTINGS_OPTIONS] - specifies the settings configuration to use for the specified format. For more detail on what parameters to use, see further down the page.

-insettings [FORMAT_NAME] [SETTINGS_OPTIONS] - specifies the settings configuration to use for formats requiring decoding prior to conversion (e.g. .vox, .raw) For more detail on what parameters to use, see further down the page.

-hide - hide the Switch window.

-show - show the Switch window.

-exit - exit Switch.

"Files to Add" is where you type in the files you want to load into Switch. All typed filenames must use the full filepath of the name, and circumfixed with inverted commas.

For additional information on using the command line, please click on the Help button on the Switch toolbar. This will open the Help contents. Click on the Using the Switch Command-line Tool link. This will provide the information above as well as examples and specific information for different file formats.


Try Switch Sound File Converter
Download Switch Sound File Converter free. Seeing and using the software first hand can answer most questions

Download Now

Top Product Categories

Sound Recording Software
Audio Software
Dictation Software
Video Software

Most Popular Programs

WavePad Sound Editor
Switch Sound File Converter
Express Burn Disc Burning Software
Prism Video File Converter
RecordPad Sound Recorder

Top | Back to Switch Sound File Converter | Privacy | Legal | Home
© NCH Software