*
The moose likes Sockets and Internet Protocols and the fly likes how to write in registry Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to write in registry" Watch "how to write in registry" New topic
Author

how to write in registry

atoshi chakraborty
Greenhorn

Joined: Mar 27, 2005
Posts: 3
i want to wwrite an java exe file in registry so that it can be make executed automatically.how can i do this?
Maki Jav
Ranch Hand

Joined: May 09, 2002
Posts: 435
Hi,

You can use the autoexec batch file for this. If using windows 98 type the

java yourClassname in that file. If installing a client, you will have to seek for c:\autoexec.bat.
If (found)
append
else
write new file

Thank you

Maki Jav


Help gets you when you need it!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: how to write in registry
 
Similar Threads
Shut down RMI Registry
Singleton & multithread env.
URLBirdy: RMI Question
How to access the windows registry
server gui ? and safe shutdown