This example runs the DOS batch file MYBATCH.BAT and passes the parameter TEST to the batch file. In the batch file, you include percent substitution characters in the commands to indicate where the parameter is used:
Run("MYBATCH.BAT TEST")
In the batch file the following statement renames FILE1 to TEST: