I have a Batch file which I want to execute in CMD from any directory. Something like this:
File name: MyBatch
Path: C:\MyBatch.bat
Open CMD: c:\Program Files> MyBatch
How can I accomplish this?
You could just put it in your c:\windows\system32 directory, as its always in the system path.
c:\windows\system32