Re: move file to a directory wit
Cory Foy <[email protected]>
| Newsgroups | gmane.org.user-groups.trijug.juglist |
|---|---|
| Message-ID | <[email protected]> |
Manon Baratt wrote: > String command = "cmd /c move " + file + " " + destDir; If you absolutely, positvely *must* use cmd /c move, just wrap the file and destDir in quote: String command = "cmd /c move \"" + file + "\" \"" + destDir + "\""; But I'd highly recommend just using a File object. -- Cory Foy http://www.cornetdesign.com