in reply to environmental variables in windows

Environment variables can be set, in Windows XP, via the "System" Control Panel, "Advanced" tab, "Environment Variables" button.

In addition, you can set environment variables in your command shell:

set CLUSTALDIR=c:\clustalw1.8\

Finally, you can set environment variables in your script as stated in your question.

Replies are listed 'Best First'.
Re^2: environmental variables in windows
by ikegami (Patriarch) on Mar 15, 2005 at 23:09 UTC
    Note: If you set the environment variable in the shell, it will only be readable by that shell process, its child processes, its children's child processes, etc.