Sign in to follow this  
Followers 0
=sinister=

Run program when windows starts?

3 posts in this topic

#1 ·  Posted (edited)

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

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

=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  
Followers 0