Link to home
Start Free TrialLog in
Avatar of chenyuhao88
chenyuhao88

asked on

How to execute my own exe program under cmd without path?

Dear All,

We all know when we go to CMD mode(dos), if we want to execute command like "dir" we don't need to specify path. Then how could I do it with my own exe program?

Thanks heaps!
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

You first need to add your program to the system environment path.
ASKER CERTIFIED SOLUTION
Avatar of cyberkiwi
cyberkiwi
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chenyuhao88
chenyuhao88

ASKER

That's awesome! Thanks all!