See the "Shell" statement in the help file.
>Hi!
>
>How can I execute a DOS command within a VB program.
>
>For Example:
>
>"Copy c:\path\File1.doc d:\path\File2.doc"
>or
>"md d:\MyPath\MyDir"
>
>Thanks in advance!
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com