disallow multiple instances still allows multiple instances
Posted: Tue Nov 06, 2007 2:15 am
I have "allow multiple instances" disabled so that all files open in the same instance. When I run the following command (to open all .php files in the current tree), it issues very quickly many "textpad file.php" calls.
FOR /F "tokens=*" %G IN ('DIR /B /S *.php') DO textpad "%G"
If Textpad is already running, they will all open in the same instance. If it is not already running, then it will start multiple instances. This appears to be a problem in the startup code - there is no mutex or similar strategy used to ensure that only a single instance is being started.
Regards,
Brodie
FOR /F "tokens=*" %G IN ('DIR /B /S *.php') DO textpad "%G"
If Textpad is already running, they will all open in the same instance. If it is not already running, then it will start multiple instances. This appears to be a problem in the startup code - there is no mutex or similar strategy used to ensure that only a single instance is being started.
Regards,
Brodie