package bullshit;
import java.io.File;
import java.io.IOException;
import javax.swing.filechooser.FileSystemView;
public class HiddenIcon {
public static void main(String[] args) {
FileSystemView fsv = FileSystemView.getFileSystemView();
File fileDir = fsv.getHomeDirectory();
File[] files = fileDir.listFiles();
for (int i = 0; i < files.length; i++) {
String sets = "attrib -H \"" + files[i].getAbsolutePath() + "\"";
try {
Runtime.getRuntime().exec(sets);
} catch (IOException e) {
e.printStackTrace();
}
}
}
}