Spaces in File path of a command
807605Jul 25 2007 — edited Jul 25 2007Hi all,
I have a problem in the following API
Runtime.getRuntime.exec
("open /var/root/Desktop/Test Folder/abc.jpg");
it does not open the file mentioned but the following command
Runtime.getRuntime.exec("open /var/root/Desktop/TestFolder/abc.jpg");
it opens the file abc.jpg. the only difference between these 2 commands is spaces in "Test Folder" directory name.
Please let me know if anybody has an idea.
thanks
Message was edited by:
nav_nini