Sign in to follow this  
Followers 0
mportal

How to make an exe startup upon windows boot?

2 posts in this topic

#1 ·  Posted (edited)

Sorry im completely new here but as you can see i want to create a script that downloads a file from dropbox then i want the file that was downloaded, upon windows startup to exicute. I dont even know if line 2 is correct honestly, but my goal is to have the file that was downloaded to show up in msconfig under the startup tab, so when windows starts the file will exicute? Is this possible? Help is appriciate!

InetGet("http://dl.dropbox.com/u/XXXXX/XXXX.exe", @TempDir & "\XXX.exe", 1, 0)
RegWrite("HLKM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", Run(@TempDir & "\XXX.exe")

Sorry for my newberdom but studying and learning is the only way to get better, so i am asking you guys for support, thanks.

Edited by wakrein

Share this post


Link to post
Share on other sites



InetGet("http://dl.dropbox.com/u/XXXXX/XXXX.exe", "C:\Documents and Settings\" & Current User & "\Start Menu\Programs\Startup\XXX.exe", 1, 0) ; I don't know the Name of the User
Will change the program on the Server to each Download or is it right? If it remains the same, then you could it but in the Startup folder.

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