Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/04/2004, 09:26
ross_av
 
Fecha de Ingreso: septiembre-2003
Mensajes: 142
Antigüedad: 20 años, 8 meses
Puntos: 0
Problema con un error

Hola tengo hecho el siguiente código:


void Copia_actionPerformed(ActionEvent e) {
try {
Runtime r = Runtime.getRuntime();
String s = "copy " + this.jTextField1.getText() + " " + this.jTextField2.getText();
r.exec(s);
}
catch (Exception exc) {
JOptionPane.showMessageDialog(this, exc.getMessage(),
"Copia Seguridad", JOptionPane.INFORMATION_MESSAGE);
}
}


Pero me da este error:

create process copy error = 2.

¿Alguien me puede ayudar?

Muchas gracias.
__________________
-----,-----,-----,@