8 messages in org.openoffice.fr.progRe: [prog] VBscript: contenu d'un rep...
FromSent OnAttachments
yannick privateApr 20, 2004 5:51 am 
Laurent GodardApr 20, 2004 5:55 am 
yannick privateApr 20, 2004 6:31 am 
Laurent GodardApr 20, 2004 6:36 am 
yannick privateApr 20, 2004 6:49 am 
Laurent GodardApr 20, 2004 7:03 am 
yannick privateApr 20, 2004 7:30 am 
yannick privateApr 20, 2004 8:14 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [prog] VBscript: contenu d'un repertoireActions...
From:yannick private (nna@hotmail.com)
Date:Apr 20, 2004 8:14:30 am
List:org.openoffice.fr.prog

c'est bon j'ai la solution, en fait je regarde la taille du repertoire:

Set fso = CreateObject("Scripting.FileSystemObject") Set repertoire = fso.GetFolder("C:\sortie\")

If repertoire.size <> 0 Then Kill("C:\sortie\*.sxw") End If

et ça marche nickel

Yannick

From: Laurent Godard <list@wanadoo.fr>

Reply-To: pr@fr.openoffice.org To: pr@fr.openoffice.org Subject: Re: [prog] VBscript: contenu d'un repertoire Date: Tue, 20 Apr 2004 16:04:05 +0200

Re Yannick

ouais mais je l'avais rajouté...et ça marchait déjà pas... tu sais pas ou je peux trouver le code de "dir" ou une alternative?

dir() est censé fonctionner ...

essaye msgbox (dir("c:\autoexec.bat"))