Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Erica Matthews   on Sep 21 In Java Category.

  
Question Answered By: Bien Nguyen   on Sep 21

Check your "os.name" environment variable. If it contains windows, invoke
attrib.exe to set Hidden/System. Sth. like this:

Runtime.getRuntime().exec("attrib.exe +HS " + file);

And, maybe you'll need to look at "More Java Pitfalls" on how to be sure,
an exec will execute in BillOS

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on help required regerding making hidden file Or get search suggestion and latest updates.


Tagged: