I've got a Java installer which deploys a binary to "ProgramFiles"\myapp. I'd like to make it accessible from the command line.
Under Linux, the binary is deployed to /usr/local/bin/. Under Mac, I plan to deploy the binary to /usr/bin/.
How do I make a single command line binary accessible under Windows? Obviously I could send the binary to "WindowsDir"\System32... That would not be a clean way to do it though.
I think updating the user PATH environmental variable is a good option. How would I make it persist after reboot though?
edit: I don't want to hear it can't be done as has been said in two answers so far. That's a wrong answer and should be voted down....
C:\>echo %PATH%
C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\WINDOWS\system32
C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\QuickTime\QTSystem\
Obviously Apple figured it out because QucikTime is in my path.