Determines whether a script is allowed to run again when it is already running.
This parameter determines what happens when a script is launched while a previous instance of itself is already running. If specified, it must be one of the following words:
Force: Skips the dialog box and replaces the old instance automatically, which is similar in effect to the Reload command.
Ignore: Skips the dialog box and leaves the old instance running. In other words, attempts to launch an already-running script are ignored.
Off: Allows multiple instances of the script to run concurrently.
If the parameter is omitted, it defaults to Force.
If this directive is not used, a dialog box is displayed asking whether to keep the old instance or replace it with the new one.
This directive is ignored when any of the following command line switches are used: /force /f /restart /r
#SingleInstance force #SingleInstance ignore #SingleInstance off