Validating Script Files
Now you have finished creating a script file you must use the Multiple Image Resizer .NET Script Engine (MirDotNetScript.exe) to check the script file for errors.
If a script file contains errors then they must be corrected before Multiple Image Resizer .NET Script Engine can use you script file to perform batch image processing.
To check your script file for errors follow the steps outlined below:
1). Open a Command Prompt
2). Using the Command Prompt navigate to the folder where Multiple Image Resizer .NET Script Engine is installed
- By default this is "C:\Program Files\Multiple Image Resizer .NET 4.5.2"
3). Run Multiple Image Resizer .NET Script Engine with following command line (note that you will need to replace "D:\Temp\MirScript.txt" with the full path of the script file you are checking for errors)
4). After running the script through the Multiple Image Resizer .NET Script Engine one of two scenarios will occur:
Scenario 1: The script file is valid:
Scenario 2: The script file contains errors:
If the Multiple Image Resizer .NET Script Engine reports that your script file contains errors, you must correct the problem(s) in your script file, save it, and then re-parse the script file again. For information about specific error messages please review the Script Parser Errors section.
When your script file is valid you need to Create an Image List file that specifies the image files and/or folders of images that you would like to process with the script.