Results 1 to 3 of 3

Thread: Dos PATH

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2000
    Posts
    3

    Angry

    Dear Sir,

    I have a problem. Can you please tell me how to get the DOS path. (when I get "program Files" it show give me the path as "PROGRA~1")

    Thank you

    Vinodh

  2. #2
    Fanatic Member r0ach's Avatar
    Join Date
    Dec 1999
    Location
    South Africa
    Posts
    722
    That's it! First 6 char's, followed by ~1 (or ~2 or ~3) depending on the amount of files starting with those 6 chars. i.e. Program Files and Programs Temp would become Progra~1 and Progra~2.

    r0ach™
    Don't forget to rate the post

  3. #3
    Addicted Member
    Join Date
    Jul 1999
    Location
    St-Élie d'Orford, Quebec, Canada
    Posts
    133
    Hi,

    try using the API call GetShortPathName...
    Want info on this, post again so I can get the reply...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width