hello i have a problem
i have to call the windows utility which will hlp me copy files (large ones) n folders from a cdrom to a hard disk
the files r quite large so i cannot use the byte streams n i am trying to use the windows utilities itself
can anybody help me
You can execute MSDOS from java....
By using Process....
for executing MSDOS, i used "cmd.exe /C start cmd.exe"
for automatic transfer, i used("cmd.exe /C start "Something you could copy using DOS syntax/file transfer using COPY dos syntax");
if you know how to transfer files from a place to another, then you could just add that code to the Process...
if not,
Try to run DOS and inquire for help.....
There is a pattern there how to copy files from one location to another....
I guess it was "COPY" or something with a parameter/s....