I have a java desktop application need to copy a directory to another location.so I've used the
Runtime.exec();
to execute the cmd command
xcopy H:\Source* L:\MY Folder /e /i
but when there is a space in a folder name like
MY Foloder
It returns and error.so how to avoid this .. Any help!