Sign in to follow this  
Followers 0
fusion400

How to allow only single autoit compiled exe to run?

3 posts in this topic

How to allow only single autoit compiled exe to run?

I have an exe that is called autoitrestart.exe and i only want it be able to run in one instance so that

whenever someone by accident clicks the exe it will just exit.

I tried the #SingleInstance Force command but it does not work are there any other options available

that are simple to implement. I just want something that exits the other instance immidiately without

any prompts popping up.

Thanks in advance.

Share this post


Link to post
Share on other sites



#include <Misc.au3>
_Singleton("Unique String Here")

Thanks alot works great.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0