I would like to create a shell script that automatically open the CMD and type 2 lines of command
This is the herierchy
- open CMD
- Change directory (cd d:\mydirectory\drivers
- command ( file.exe start -c )
I tried some examples in the existing posts but it has different ways like editing regedit/run at start up..
What I need is to create a executable file wherein if I click it, it will automatically open cmd and type those commands.
I am not also familiar nor knowledgeable in creating shell scripts.
Hope someone will help. Thank you in advance.