I know how to do this with a bash script on *n*x – by placing it in /usr/bin or /usr/local/bin.
Where in the Windows (7) file system should I place a .bat such that it can be called from any directory I’m in on the command line?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In some directory that is mentioned in your
PATHenvironment variable. Actually that’s exactly the same as in Unix-like systems.Mind you, it’s probably easiest to just create a directory for that and add it to
PATHthan throwing them in random locations where they don’t belong (such assystem32).