By invoking your shell with the appropriate arguments.
Assuming that it's the command COPY of CMD.EXE you desire to execute,
the command might look like:
Shell ("cmd /c copy source.dat target.dat")
For details see CMD /? from a CMD prompt.
However, as Vince suggested, methods native to VBA are probably
preferrable.
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.