Bonjour,
j'ai un fichier batch qui crée et modifie un fichier texte.
quand je le lance directement ( double clique ) ou avec l'invite de commande , ça marche très bien

par contre quand je l'integre dans java comme suit :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
Runtime runtime = Runtime.getRuntime();
 Process process = runtime.exec("fichier.bat");
bah il marche super sous xp mais pas sous windows 7
j'ai pensé aux autorisations mais j'étais en mode admin donc ..