LECTURE DE PLUSIEURS FICHIERS EN VBS

fadico Messages postés 1 Date d'inscription samedi 18 juillet 2009 Statut Membre Dernière intervention 22 juillet 2009 - 22 juil. 2009 à 04:14
Mayzz Messages postés 2813 Date d'inscription mardi 15 avril 2003 Statut Membre Dernière intervention 2 juin 2020 - 22 juil. 2009 à 08:30
BONJOUR
JE CHERCHE A LIRE PLUSIEURS FICHIERS ET RECUPERER CERTAINES POSITIONS
MON CODE MARCHE POUR UN SEUL FICHIER POUR LES AUTRES????
AUTREMENT:
SET FS=FSO.OPENTEXTFILE(c:\mondossier\fichier.txt)
j'arrive a lire fichier.txt peut on associer a opentextfile une variable ??? c koi la syntaxe???
c trés urgent merci d'avance

1 réponse

Mayzz Messages postés 2813 Date d'inscription mardi 15 avril 2003 Statut Membre Dernière intervention 2 juin 2020 28
22 juil. 2009 à 08:30
Bojour,

Voila pour le fso :

Set fso = CreateObject("Scripting.FileSystemObject")
set txt = fso.OpenTextFile ("Chemin")

@+

Si le déboguage est l'art d'enlever les bogues, la programmation doit être l'art de les créer.
0
Rejoignez-nous