ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Command Prompt to a Directory (https://www.excelbanter.com/excel-programming/302293-command-prompt-directory.html)

sailingdan[_2_]

Command Prompt to a Directory
 
I’m new to the idea of running external commands from Excel VBA. B
looking through this forum, I’ve figured out how to use the Shel
command with the “comspec” environment to open the command prompt, bu
I can’t figure out how to open the command prompt to a specifie
directory. If it’s not possible, is there a way to run more than on
command in succession?

Thanks,
Da

--
Message posted from http://www.ExcelForum.com



All times are GMT +1. The time now is 01:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com