SingleRun - Create single instance shortcuts

Published on
4,272 Points
1 Endorsement
Last Modified:
Shaun Vermaak
My name is Shaun Vermaak and I have always been fascinated with technology and how we use it to enhance our lives and business.
SingleRun is a tool that ensures that only one instance of an application is started, running it again brings the application to focus.


I developed this SingleRun application to address a business requirement. The requirement called for a method to allow only one instance of an application, taking arguments into account, when a user clicked on a shortcut.

In addition to this, when the application is already running, clicking on shortcut should bring the application into focus.

Although I frequently use the application, it is a bit of a niche solution so sharing it, hoping that someone will find it useful.


Step 1) Download Visual Studio Project

https://bitbucket.org/svermaak/singlerun/downloads/ (Source Code)

http://blog.ittelligence.com/wp-content/uploads/2018/02/SingleRun.zip (Binary)

Step 2) Save to a convenient location (C:\Program Files\SingleRun in this article)

Step 3) Create a SingleRun shortcut. You can create a SingleRun shortcut with by one of two ways:

Method 1) Drag and drop

Method 2) Command line

SingleRun supports the following command line arguments:

SingleRun.exe scope workingfolder target arguments

scope: Computer or User

workingfolder: Working folder to change context to

target: The path the application to star

arguments: Argument of the target

Demo execution

I hope you found this tutorial useful. You are encouraged to ask questions, report any bugs or make any other comments about it below.

Please do not forget to press the "Thumb's Up" button if you think this article was helpful and valuable for EE members.

It also provides me with positive feedback. Thank you!


Featured Post

Top Threats of Q1 & How to Defend Against Them

WEBINAR: Join WatchGuard CTO and our Threat Research Team on Aug. 2nd to hear the findings from our Q1 Internet Security Report! Learn more about the top threats detected in the first quarter and how you can defend your business against them!

Join & Write a Comment

If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Microsoft Office 365 Backup and Restore Solution by SysTools to export Office 365 mailbox to PST / EML file format on Windows OS. On Mac, tool backup O365 to PST / MBOX / MSG / EML / EMLX file formats. Not only this, restore option helps to import s…

Keep in touch with Experts Exchange

Tech news and trends delivered to your inbox every month