KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am trying to switch to a directory using cmd and then execute a batch file: cmd /k cd "C:\myfolder" startbatch.bat I have also tried (without success) cmd cd /k cd "C:\myfolder" | startbatch.bat Although the first line ( cmd /k ) seems to run okay, but the second command is never run. I am using Vista as the OS. What is the correct way to do this?
Tags (comma-separated)
Save Edits
Cancel