berlioz1204
Messages postés12Date d'inscriptionmardi 17 juin 2003StatutMembreDernière intervention21 septembre 2011
-
1 avril 2008 à 16:31
berlioz1204
Messages postés12Date d'inscriptionmardi 17 juin 2003StatutMembreDernière intervention21 septembre 2011
-
2 avril 2008 à 13:58
bonjour,
avez-vous une astuce pour recuperer directement le resultat d'une commande cmd dans un textbox sans passer par un fichier
je voudrais un peu ce style de commande : txt_info=shell("cmd c:\info.exe nom_du_fichier")
bigfish_le vrai
Messages postés1835Date d'inscriptionvendredi 13 mai 2005StatutMembreDernière intervention20 novembre 201314 2 avril 2008 à 13:00
je ne connais pas le .net mais peut etre existe t'il une commande comme la commande shell en VB6
ce qui suit ecrit dans un fichier nomé bob.txt le resultat de la commande msdos dir c:\windows. Si le fichier n'existe pas il sera creer automatiquement
CMDAppli as Double
CMDAppli = Shell("cmd.exe /c dir c:\windows >> c:\temp\bob.txt", 0)