Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. convert File Path form DOS to Windows type

convert File Path form DOS to Windows type

Scheduled Pinned Locked Moved C / C++ / MFC
jsonhelp
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sunit5
    wrote on last edited by
    #1

    Is there any API to convert C:\DOCUME~1\SUNIT~1.SIN\LOCALS~1\Temp to C:\Documents and Settings\sunit.sinha\Local Settings\Temp. Pls help me. hanx in advance

    never say die

    _ T 2 Replies Last reply
    0
    • S sunit5

      Is there any API to convert C:\DOCUME~1\SUNIT~1.SIN\LOCALS~1\Temp to C:\Documents and Settings\sunit.sinha\Local Settings\Temp. Pls help me. hanx in advance

      never say die

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      sunit5 wrote:

      Re: convert File Path form DOS to Windows type

      GetLongPathName()

      Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

      S 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        sunit5 wrote:

        Re: convert File Path form DOS to Windows type

        GetLongPathName()

        Somethings seem HARD to do, until we know how to do them. ;-)_AnShUmAn_

        S Offline
        S Offline
        sunit5
        wrote on last edited by
        #3

        Thanx a lot

        never say die

        1 Reply Last reply
        0
        • S sunit5

          Is there any API to convert C:\DOCUME~1\SUNIT~1.SIN\LOCALS~1\Temp to C:\Documents and Settings\sunit.sinha\Local Settings\Temp. Pls help me. hanx in advance

          never say die

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          sunit5 wrote:

          C:\Documents and Settings\sunit.sinha\Local Settings\Temp.

          GetShortPathName to convert it back!

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

          cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups