|
-
Jun 19th, 2000, 06:29 AM
#1
Thread Starter
Lively Member
How can I get a program to turn on during start up with out the start up folder..using Autoexec.bat would be nice
any tips?
-
Jun 19th, 2000, 06:37 AM
#2
Addicted Member
rigestry
i think you have to rigester it, but how i don't remember, or i should say i don't know
-
Jun 19th, 2000, 09:18 AM
#3
PowerPoster
StartUp
If you don't want to touch the registry, then all you need just copy you program into the Startup folder.
-
Jun 19th, 2000, 09:33 AM
#4
-
Jun 19th, 2000, 09:39 AM
#5
PowerPoster
Alternative way...
If you wish to hide you setting in the registry without let others people know it. You can do it this way with out using a complex API function.
All you need is to create a new file with extension ".reg"
Exmaple:
AddStartup.reg
then you need to append the follwoing line into this file:
For Networking PC
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run]
"MyProgram"="C:\\Temp\\Disable.exe"
For Stand Alone PC
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"MyProgram"="C:\\Temp\\Disable.exe"
You must follow below format:
Content Format
<Registry Root String>
<Description>=<File Path + FileName>
After create this file, all you need is just Shell this .reg file with the regsvr32.exe:
Shell "Regsvr32.exe AddStartup.reg , vbHide"
[Edited by Chris on 06-19-2000 at 10:41 PM]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|