I just downloaded FASM but I find it irritating that I have to type in the directory that fasm is in when using it. Is there some way I can create a "shortcut" so that I can just type fasm no matter what directory I am in?
I'm using Windows XP
Creating a Windows Command Line Shortcuts
Re:Creating a Windows Command Line Shortcuts
all you have to do is set fasm to your path
right click on my computer..
then click properties..
then click the advanced tab
then click enviromental variables
then look for a variable called Path under system variables and click on it
then add to the variable value(at the end of the string) ;C:\PATH_TO_FASM;
then click ok
btw you'll have to reopen consoles for this to take effect
and then you should just be able to type "fasm" and it work
right click on my computer..
then click properties..
then click the advanced tab
then click enviromental variables
then look for a variable called Path under system variables and click on it
then add to the variable value(at the end of the string) ;C:\PATH_TO_FASM;
then click ok
btw you'll have to reopen consoles for this to take effect
and then you should just be able to type "fasm" and it work
Re:Creating a Windows Command Line Shortcuts
Adding its directory to your PATH environment variable should work. At the command line or in a batch file you can do something like
That will only be temporary. It can be made permanent through the Advanced tab on your System Properties dialog.
Edit:
You got there first ;D
Code: Select all
path = %PATH%;newdir
Edit:
You got there first ;D