我写的一段程序,是通过一个按钮实现文件添加,可是在有的机器上点击按钮后可以正常运行并弹出msgbox,有的机器上点击按钮后没有任何反应,请问是怎么回事,谢谢,部分代码如下: public void actionPerformed(ActionEvent event3) {
if(combo.getSelectedItem()=="Windows xp"){
if(combo1.getSelectedItem().equals("Citrix ICA 7.00.00")){
String s = new String();
String s1 = new String();
String path=new String();
path=System.getProperty("user.name");
String xpstring="cmd /c attrib -h C:\\Docume~1\\"+path.substring(0,6)+"~1\\Applic~1\\ICACli~1\\APPSRV.INI /s /d";
System.out.println(xpstring);
try {
    Runtime.getRuntime().exec(xpstring);
    } catch (IOException e1) { e1.printStackTrace();
}