Sign in to follow this  
Mari_p

Executing an application automatically after O.S. initializes

Recommended Posts

Answer 1: You shouldn't. What if your application freezes and the user can't get to anything else? Why does it need to pop up into the user's face the minute they turn their computer on?

Answer 2: Depends on the OS. In Linux/Unix, you want to be looking at the init scripts under /etc/init.d/, /etc/rc.d/ or somewhere around there. In Windows, I believe c:\autoexec.bat still works, and does basically the same thing. In OSX, I don't know, but I do know it has it's own init-ish system you can tinker with.

Share this post


Link to post
Share on other sites
Quote:
Original post by Icefox
Answer 1: You shouldn't. What if your application freezes and the user can't get to anything else? Why does it need to pop up into the user's face the minute they turn their computer on?

Thanks for the answer.
I would like to use a computer in an "arcade machine" (sorry, I don't know the correct name in English - I mean machines like those from CAPCOM, SEGA etc). The computer would be used only for one application (just the O.S. and requirements for the application would be installed). So, if the application were well implemented, I believe that there would be little chance of freezing.

Share this post


Link to post
Share on other sites
You could add it to the startup in the registry
HKEY_CURRENT_USER\Software\Microsoft\Windows\Run
ex. - To add a file named C:\Folder\Start.exe and invoke it with c:\Folder\info.txt you would create a new string value, then modify it and write in C:\Folder\Start.exe C:\Folder\info.txt as the data value

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