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