Execute DOS commands


G

Guest

Is there a way to execute a DOS command (i.e. MD, CD...etc) from a from.

Thanks,
Fred
 
Ad

Advertisements

D

Douglas J. Steele

VBA has the equivalent of MD and CD built into it.

MkDir lets you make a directory.

CurDir tells you the current directory.

ChDir lets you change the current director (you'll need to use ChDrive if
you're trying to set a the current directory to a different drive).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top