How to find full patch of script from within the script
Posted: 13 Feb 2013 15:15
Dear Team Members,
Do you know of any variable or procedure to find the full directory Path of a script from within the script when is is run?
For example, If the script is called "C:\Program Files\dir1\dir2\joseph.bat"
the full directory would be called "C:\Program Files\dir1\dir2\"
Can the called script derive its full directory path?
Thanks
Joe
Do you know of any variable or procedure to find the full directory Path of a script from within the script when is is run?
For example, If the script is called "C:\Program Files\dir1\dir2\joseph.bat"
the full directory would be called "C:\Program Files\dir1\dir2\"
Can the called script derive its full directory path?
Thanks
Joe