Thread
:
Get Current Directory Of Script
View Single Post
Nov 8th, 2005, 6:05 PM
#
10
Kaja Fumei
Hobbyist Programmer
Join Date: Oct 2005
Posts: 134
Rep Power:
3
$ENV{'SCRIPT_NAME'} contains the name of the current running script as well as the full path. You could extract the path from that.
Kaja Fumei
View Public Profile
Visit Kaja Fumei's homepage!
Find More Posts by Kaja Fumei