Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I get startup programmes

 
praneeth jayarathna
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How DO I get Startup programmes
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you mean the programs that start when your operating system starts? That depends on the operating system.

Windows uses several locations:
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run for applications that start each time for the current user
- HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\RunOnce for applications that only start the next time for the current user
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run for applications that start each time for all users
- HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce for applications that only start the next time for all users
- the Startup start menu folder for the current user
- the Startup start menu folder for all users

I didn't specify actual paths for the last two since those locations depend on several things, including the Windows language. The actual value can be found in the registry somewhere.
 
praneeth jayarathna
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok thank your reply.but I want ,java codes to get run programmes.
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So you'll need to find a Java library for reading the registry. Just use Google, there are many around.
 
praneeth jayarathna
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thank you
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic