-1

How to run this command via VBS?

Thanks in Advance & Best Regards.

enter image description here

0

1 Answer 1

1
CreateObject("WScript.Shell").Run """%comspec%"""
Sign up to request clarification or add additional context in comments.

2 Comments

hi @MC ND, thanks for your reply. Is there a way to close the cmd windows after execution?
@raysefo, yes, you are right. /c is a request to execute and exit when done.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.