2011-02-01 09:51:08 UTC
pr = rt.exec("cp " + directoryName + "/"+ files[i] + " ./"+ fileName+"/"+files[i]);
System.out.println("cp " + directoryName + "/"+ files[i] + " ./"+ fileName+"/"+files[i]);
but i want the file name be in quotes because my file names and directories have blank spaces in them
however using "\"" for quotes prints a line ok (!!!) but does NOT work in Java.
is this a Java bug?
WHen i take the printed line from java and run it in terminal, it then executes OK (files are copied)!
but from Java that line is not copying the files.