Jump to content
Sign in to follow this  
=sinister=

Run program when windows starts?

Recommended Posts

=sinister=

As title says, is it possible to run a program when windows starts (Well I know it's possible, but how?)

Another quick question, how do I make a script run a function when the program as a command on the end of the path? (Like "C:\test.exe" -run)

Edited by =sinister=

Share this post


Link to post
Share on other sites
felanor

As title says, is it possible to run a program when windows starts (Well I know it's possible, but how?)

Another quick question, how do I make a script run a function when the program as a command on the end of the path? (Like "C:\test.exe" -run)

There are a couple of ways to get a program to run on startup. You could add the executable to the registry (HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run) and add the exe as a new string value. You could also add the file to your startup directory. As far as getting the switch to the end of the path, you could try something like this.

Run ("C:\test.exe -run")

Let me know if that helps,

~Felanor

Share this post


Link to post
Share on other sites
rasim

=sinister=

1. HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

2. Help

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.