• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can't write directly to a drive?  RSS feed

 
Bill White
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lets say I want to rewrite part of a floppies DOS File System header. It does not seem that Java allows you to just open up //./a: and start writing to it.
I can open up //./a: and read the first 512 bytes and then write that to a txt file and look at the info in a hex editor. However the FileOutputStream class does not allow for writing info back.
Is there a pure Java way to do this that I might be missing?
Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!