*
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 Murach's Java Servlets and JSP this week in the Servlets 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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to write in registry
 
Similar Threads
Singleton & multithread env.
Shut down RMI Registry
URLBirdy: RMI Question
How to access the windows registry
server gui ? and safe shutdown