How do you reference a file on a handheld ?

R

Rob

I simply want to copy a file using the File.Copy(strSource,strDest) format

On a handheld device how do you reference a file.... what is the beginning
of the path ?

On a server it is \\servername\folder

On a desktop it is C:\Foldername

I see my handheld has My Device as a root... I tried referencing it as \\My
Device but that does not appear to work.

Thanks !
 
B

Bipin_Expert

Hi,
You need to use single slash for referencing the path. It is
like:

\My Device\folder
\Program Files\YourApp

Regards,
Bipin Kesharwani
(Developer)

Palewar Techno Solutions
Pocket PC & Mobile Software Development
Nagpur, India

http://www.palewar.com
 
G

Guest

Your device shows up that way becasue of a shell extension in ActiveSync.
It's not actually reachable as a file path from teh desktop. To copy to/from
the device from the PC, you need to use RAPI. Take a look at this:

www.opennetcf.org/communication

-Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top