Home » Developer & Programmer » JDeveloper, Java & XML » copy files into system directory
copy files into system directory [message #499720] Tue, 15 March 2011 23:19 Go to next message
chanveil
Messages: 22
Registered: December 2010
Junior Member
Hello all:

I am on a font manager project. One of the features is to install the new font file. My understanding by "install" is to copy the file to the system directory Windows/fonts (correct me if I am wrong in this part). When I tried to use the java copy file api to do so, not surprisingly I got the access denied exception.

Now two questions:
1. How can I do a "force-copy" of file into the system directory?
2. If that's not proper way, how can I create a "shortcut" like a softlink of the file into the system directory?

Thanks
Re: copy files into system directory [message #499751 is a reply to message #499720] Wed, 16 March 2011 01:56 Go to previous message
Michel Cadot
Messages: 67919
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator
This question bears no real connection with Oracle.
Please find a more appropriate forum.
The topic is locked.
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Regards
Michel
Previous Topic: duplicate records after xml extract (2 threads merged by bb)
Next Topic: Regular Expression help
Goto Forum:
  


Current Time: Mon Jul 26 09:34:10 CDT 2021