'The following is an example of creating a program that 'takes command-line arguments. This example uses SHELL to 'run ffmpeg to convert an audio/video file in the simplest 'way possible, something similar like this: ' ffmpeg -i input.ext output.ext 'If you notice the CHR$(34) parts in the INPUT/OUTPUT_FILES$, 'this is to make sure the file-paths get wrapped inside of 'double-quotes; otherwise, if there are spaces in the file-paths, 'it won't work. 'Command$(1) refers to the first argument supplied. 'Command$(2) refers to the second argument supplied. '--------------------------------------------------------------- INPUT_FILE$ = Chr$(34) + Command$(1) + Chr$(34) OUTPUT_FILE$ = Chr$(34) + Command$(2) + Chr$(34) Print "Converting... Please wait..." Shell "ffmpeg -i " + INPUT_FILE$ + " " + OUTPUT_FILE$ Print "Conversion finished."