How to Determine the Application Path in WinBatch?
Posted on 2006-05-23
I am writing a program in WinBatch and want to get the current application’s path(the folder path where the application resides and runs from). I have used “FilePath (filename)” function but it searches for the specified file into Current Working Directory only and not on entire disk. The application can be on any location on to the hard drive, when the application will be executed then it should determine its own path (where it is residing)?
Does any one of you have any idea how to achieve this?