| View previous topic :: View next topic |
| Author |
Message |
crovex
Joined: 22 Feb 2005 Posts: 7 Location: singapore
|
Posted: Tue Feb 22, 2005 1:36 pm Post subject: auto run during startup |
|
|
can anyone help me on this i cant seem to make a program that make an exe file run automatically on every reboot with ahk or autoit.
how can i ensure the directory is working in every comp.
sry i amay sound noob _________________ knowledge = power
I = low power
recharging power |
|
| Back to top |
|
 |
Titan
Joined: 11 Aug 2004 Posts: 5068 Location: imaginationland
|
Posted: Tue Feb 22, 2005 1:50 pm Post subject: |
|
|
I think you can do it this way on Win2k/XP:
Start > Accessories > System Tools > Scheduled Tasks
Use the wizard to make your script run every time computer starts. |
|
| Back to top |
|
 |
crovex
Joined: 22 Feb 2005 Posts: 7 Location: singapore
|
Posted: Tue Feb 22, 2005 1:57 pm Post subject: |
|
|
i can make the script run manually
but the problem is that i want to make another script to do it for me.(using the startup or regedit)thx any way. _________________ knowledge = power
I = low power
recharging power |
|
| Back to top |
|
 |
gogogadgetscott Guest
|
Posted: Tue Feb 22, 2005 3:26 pm Post subject: Manage the Programs Run at Windows Startup |
|
|
Using windows registry create an entry in the Run node.
| Code: |
App = C:\app.exe
IfExist, %App%
{
SplitPath, App, PathName, PathDir
RegWrite, REG_SZ, HKLM, Software\Microsoft\Windows\CurrentVersion\Run, %PathName%, "%App%"
}
|
For more registry info :: Manage the Programs Run at Windows Startup
http://www.winguides.com/registry/display.php/109/
| Quote: | | ensure the directory is working in every comp |
You will have to be sure the exe is in the same directory on every computer. The above script will only create an entry if the file exists. |
|
| Back to top |
|
 |
Dippy46
Joined: 06 Jul 2004 Posts: 171 Location: Manchester, England.
|
Posted: Tue Feb 22, 2005 6:35 pm Post subject: Re startup |
|
|
I normally put my boot ahk's or exe's here
%A_Startup% or %A_StartupCommon% _________________ Simple ideas lie within reach, only of complex minds |
|
| Back to top |
|
 |
Dippy46
Joined: 06 Jul 2004 Posts: 171 Location: Manchester, England.
|
Posted: Tue Feb 22, 2005 6:39 pm Post subject: |
|
|
Sorry, I should have been more specific. I have progs that write scripts automatically to %A_Startup%, the progs are changing every time the machine boots. VERY USEFUL, TRUST ME ! _________________ Simple ideas lie within reach, only of complex minds |
|
| Back to top |
|
 |
jonny
Joined: 13 Nov 2004 Posts: 3004 Location: Minnesota
|
Posted: Tue Feb 22, 2005 6:56 pm Post subject: |
|
|
| Another advantage to putting them in the Startup folder is that they can be easily accessed from the start menu. Also, you can edit the shortcuts in a file manager rather than the clunkier regedit or by Reg commands. |
|
| Back to top |
|
 |
crovex
Joined: 22 Feb 2005 Posts: 7 Location: singapore
|
Posted: Wed Feb 23, 2005 12:17 am Post subject: ok |
|
|
thx guys i will try _________________ knowledge = power
I = low power
recharging power |
|
| Back to top |
|
 |
crovex
Joined: 22 Feb 2005 Posts: 7 Location: singapore
|
Posted: Wed Feb 23, 2005 7:39 am Post subject: i hav a qn |
|
|
is there can any function find the path like if i dont know where is the exe file going to put.
e.g first = C:\program\exe.exe
then i move it to
second=D:\workspace\exe.exe
is there any way to find the location of the file no matter where is it.
any suggest plz _________________ knowledge = power
I = low power
recharging power |
|
| Back to top |
|
 |
ranomore
Joined: 06 Nov 2004 Posts: 178 Location: Salt Lake City, UT
|
|
| Back to top |
|
 |
|