Re: Problem invoking Windows copy command using Runtime.getRuntime().exec()
klynn47_at_comcast.net
Date: 02/24/05
- Next message: Dan Hinojosa: "Re: Disable Garbage Collection in Web Start"
- Previous message: none: "Re: searching for yoda - a developer's tale"
- In reply to: Dave Neuendorf: "Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Next in thread: Dave Neuendorf: "Re: Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Reply: Dave Neuendorf: "Re: Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Feb 2005 14:20:37 -0800
After the "cmd.exe" try adding "/c".
If that still doesn't work, then you can get a reference to the
ErrorStream of the Process with getErrorStream(). Then you can read
from it with a BufferedReader.
- Next message: Dan Hinojosa: "Re: Disable Garbage Collection in Web Start"
- Previous message: none: "Re: searching for yoda - a developer's tale"
- In reply to: Dave Neuendorf: "Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Next in thread: Dave Neuendorf: "Re: Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Reply: Dave Neuendorf: "Re: Problem invoking Windows copy command using Runtime.getRuntime().exec()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]