>Thanks for your reply.
>I just did it.
>
>I need to know wht funtion I should use to get if any file exist or not.
You can use the DIR statement or you can also use FileExist from the FSO (file system object - scrrun.dll).
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com