In the past I'd do stupid things like copy and paste cmd.exe to every folder I want to use it in.
For xkas.exe, I'd copy and paste it to every folder I want to use it in. Same for sprite tool and every other tool.
Quite conveniently, there's something called Context Menus and the PATH.
Context Menus are what you see when you right click folders and such with your mouse.
You can add your own options to it. For example, here's an "Open with CMD" menu option I use.
It opens command prompt in this folder, already set to the filepath of my working directory.
How do you enable this?
Here's a simple script you only need to run once.
CodeWindows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\background\shell\CommandPrompt]
@="Open with CMD"
[HKEY_CLASSES_ROOT\Directory\background\shell\CommandPrompt\Command]
@="cmd.exe"
Save it as cmd.reg and double click it to install. You'll see two confirmation messages. No restart necessary, the change is immediate.
This adds the option to context menus when right-clicking inside of folders or on your desktop, but not when clicking on icons.
If your interested in other stuff to add to the menu, I recommend
Copy Filenames.
Your PATH is another useful tool that allows cmd.exe to use programs without them being in the same file directory as cmd.exe.
Before you edit your path, make sure you have xkas.exe (or whatever compiler) in a
permanent location.
In order to edit your PATH, you'll need to go to your start menu and type "edit environmental variables".
There's usually one or two options that both lead to similar things. On my Windows 8 there's one that'll change it for everyone and one that changes it for only my account.
In any case, you should find a box like this:
Path is what you'll want to edit. Select it, and press edit.
Copy the existing "Variable value" in the box.
You need to tack the filepath of xkas.exe (or whatever compiler people use nowadays) there.
The filepath must be separated by a
semicolon.
For example,
C:\Ruby193\bin;C:\Program Files;C:\frog;C:\Desktop\xkas.exe;C:\hdata
Click OK twice and you should now be able to access xkas from anywhere you open command prompt!
Another thing I commonly add is stuff like gcc.exe for compiling C++ stuff.
I think someone already posted a PATH tutorial but I felt like posting it with the CMD thing anyway.
I own a community of
TF2 servers!
ASMT - A new revolutionary ASM system, aka 65c816 ASseMbly Thing
SMWCP - SMW Central Presents a Product- tion long name
frog
http://esolangs.org/wiki/MarioLANG