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. Mobile Development
  3. Mobile
  4. change the folder

change the folder

Scheduled Pinned Locked Moved Mobile
c++questionhelp
2 Posts 2 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.
  • P Offline
    P Offline
    Paulraj G
    wrote on last edited by
    #1

    hi am using vc++ mfc and pocket pc6.0. i has 2 file in a same name. 1.windows\paul 2.temp\paul i was used a code shellexecuteex to open files. but it defaultly open windows\paul file. to change the folder, what is the procedure? can anybody help me?

    paulraj

    C 1 Reply Last reply
    0
    • P Paulraj G

      hi am using vc++ mfc and pocket pc6.0. i has 2 file in a same name. 1.windows\paul 2.temp\paul i was used a code shellexecuteex to open files. but it defaultly open windows\paul file. to change the folder, what is the procedure? can anybody help me?

      paulraj

      C Offline
      C Offline
      Christopher Fairbairn
      wrote on last edited by
      #2

      Hi paulraj, Can you share the code you use to call ShellExecuteEx? Windows CE (and hence Windows Mobile) have no concept of a current working directory. So for APIs such as ShellExecuteEx you need to specify the full path to the file you want to display. An exception to this rule is that some APIs will automatically look in the \windows folder if a path is not specified. Are you by chance asking ShellExecuteEx to open "paul" instead of "\temp\paul"? Hope this helps, Christopher Fairbairn Windows Mobile Development blog http://www.christec.co.nz/blog/

      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