move file to a directory wit

Manon Baratt <mab1777-/[email protected]>
Newsgroups gmane.org.user-groups.trijug.juglist
Message-ID <[email protected]>
I am trying to move a file from where it is to another directory. The destination directory has spaces in its name. This is the command I am using:
 
String command = "cmd /c move " + file + " " + destDir;
 
How do  I get this code working?  Do  I use  urlencoding?
 
Thanks.
			
---------------------------------
Yahoo! Mail goes everywhere you do.  Get it on your phone.

_______________________________________________
Juglist mailing list
[email protected]
http://trijug.org/mailman/listinfo/juglist_trijug.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.