=========
QUESTION
———
How do I run a DOS command at the Command prompt from VBA?

 

=========
ANSWER
———
see EXAMPLES

 

=========
EXAMPLES
———
Shell "cmd.exe /k dir c:\windows\system\*.exe", vbNormalFocus

…consider running a .bat file for more involved commands?

 

=========
APPLIES TO / KEY WORDS
———
Microsoft Access
VBA
Command Prompt
Commands

 

=========
REF
———
http://www.vbaexpress.com/kb/getarticle.php?kb_id=971

 


http://www.anysitesupport.com/vba-run-a-command-at-the-command-prompt-from-vba/
http://anySiteHosting.com