Results 1 to 3 of 3

Thread: Getting the drive name, current folder

  1. #1
    barnabas
    Guest
    Hello,

    Is there a command in C++ similar to the command App.Path in VB to get the application path.

    Also how can one get the drive name??.

    Barnabas

  2. #2
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    I answered this question here: http://forums.vb-world.net/showthrea...threadid=67935

    It's near the bottom of the page.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Also, look at the GetVolumeInformation API function...I'll do an example if you want.
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

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