Wednesday, 22 August, 2007

Run the shell scripts like batch file in M$ Windows

Add the current directory to the $PATH environment variable

$ PATH = .:$PATH
$ export $PATH

$ file.sh
(instead of [./file.sh] or [sh file.sh] )

No comments: