Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Languages Misc > Re: Getting a p...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 13 Topic 1132 of 1217
Post > Topic >>

Re: Getting a programs cannonical path

by Marco van de Voort <marcov@[EMAIL PROTECTED] > Apr 17, 2008 at 02:59 PM

On 2008-04-16, Aaron Gray <ang.usenet@[EMAIL PROTECTED]
> wrote:
>> ... argv[0] holding the absolute pathname and filename is, of course,
>> more secure, but the MS-DOS legacy includes a lot of stuff that is a
>> bit slapdash.
>
> Great, what an oversite :(
>
> Anyone got any code for this ?

WHich platform ?

FPC has this in the feature set. In general, on Unix it is not possible,
but
it is possible under Linux (by reading an entry in the /proc filesystem).

Windows has a dos heritage in this regard.
 




 13 Posts in Topic:
OT: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-16 02:08:19 
Re: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-16 02:19:53 
Re: Getting a programs cannonical path
BruceMcF <agila61@[EMA  2008-04-16 07:27:12 
Re: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-16 23:03:50 
Re: Getting a programs cannonical path
Marco van de Voort <ma  2008-04-17 14:59:54 
Re: Getting a programs cannonical path
Marco van de Voort <ma  2008-04-21 16:02:20 
Re: Getting a programs cannonical path
BruceMcF <agila61@[EMA  2008-04-16 16:46:29 
Re: Getting a programs cannonical path
"Rod Pemberton"  2008-04-16 19:52:37 
Re: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-17 01:22:40 
Re: Getting a programs cannonical path
"Rod Pemberton"  2008-04-17 02:59:45 
Re: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-21 16:18:27 
Re: Getting a programs cannonical path
"Rod Pemberton"  2008-04-21 15:57:46 
Re: Getting a programs cannonical path
"Aaron Gray" &l  2008-04-22 11:52:45 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 18:07:46 CDT 2008.