As the title states, I would like to have a simple macro to run a command in CMD. To expand on this a little, I want to enter a "net use" command.
To open CMD, this works:
Now how do I send the command? The command is basically "net use j: \\devicename /user:username password".
I would love any input!! Also if there is a better way to open CMD then using "Shell", please let me know.
To open CMD, this works:
Code:
Shell "C:\Windows\System32\cmd.exe"
Now how do I send the command? The command is basically "net use j: \\devicename /user:username password".
I would love any input!! Also if there is a better way to open CMD then using "Shell", please let me know.