I'd like to find another way to add it into system environment without changing PATH system variable and let it as simple as running cmd command.
Well,if you follow steps below you can accomplish the object above.
1. Create a cmd file, named gwtcmd.cmd
- @ECHO OFF
- SET GWT_HOME=<GWT_SDK_DIR>
- SET PATH=%PATH%;%GWT_HOME%
- CMD /k "ECHO Welcome to Google Web Toolkit command-line for GWT<GWT_VERSON>!"
3. Win Key + R, type gwtcmd, enter.
Now you can use GWT command line anywhere in your local. gwtcmd is only three letters more than cmd. The price is not too large.
No comments:
Post a Comment