|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Hey,
I know that there aren't that many posts on pascal, but I thought I'd ask just in case any one knows. I was wondering if anyone knew how to get the path of the exe that is running, I know that in VB6 you can use 'App.Path', and I've had a look on Google and other sites, but I haven't found anything (well, to be honest there isn't a lot about pascal that I can see!) Thank You ![]() |
|
#2
|
|||
|
|||
|
No, I think the closest you can get to this is too search the Disk Drive to find the file, and if multiple searches are returned check the file properties to decide which is the one you want.
|
|
#3
|
|||
|
|||
|
I know this thread is about a year old from now.
To anyone interested, the string returned from the function Code:
ParamStr(0) I found this out half by accident. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > Other Programming Languages > Turbo Pascal App Path!? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|