Re: Copy files to the storage card

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Thank you, I t will be very helpful.

My best regards, Maurizio Di Marco.


"Jerod Houghtelling" <houghtelling@xxxxxxxxx> ha scritto nel messaggio
news:1189620897.347858.310740@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Sep 12, 10:54 am, "Wild Bill" <mauri...@xxxxxxxxxxx> wrote:
Hello, I' m writing for the first time a little Compact framework
application.
I need to write some code that copies selected files from the desktop PC
to
the storage card inserted in the pocket Pc.
I don't understand how to reach the right path of the storage card. Also
if
i find the path, is it possible to copy the file with a command line
like
this?
file.copy(path1,path2)
Is this the right way to solve the problem or there is another method to
reach my purpose?

I'm sorry for my english.

My best regards, Maurizio Di Marco.

From the desktop you could also use CeCopy.exe which can be located at

http://www.microsoft.com/downloads/details.aspx?FamilyID=74473FD6-1DCC-47AA-AB28-6A2B006EDFE9&displaylang=en

I wouldn't recommend this message but I'm posting this in case people
don't know about it. I would recommend using the opennetcf desktop
communications wrapper if you have the development capability.

Example Desktop Code: (no error checking)

string path1 = "MyFile.txt";
string path2 = @"\Program Files\MyApp\MyFile.txt";

string filename = @"\"C:\Program Files\Windows Mobile Developer Power
Toys\CECopy\cecopy.exe\"";
string arguments = string.Format("\"{0}\" dev:\"{1}\"", path1, path2);

Process.Start(filename, arguments).WaitForExit();



.



Relevant Pages

  • Re: Problems opening a project
    ... the Sp2 of the Compact Framework was missing on the new pc. ... My best regards, Maurizio Di Marco ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: badblocks on sata drive
    ... best regards, ... block relocation mechanics have failed. ... everthing on that disk because this is usually a sign that the disk ...
    (freebsd-questions)
  • Re: DataObjects.NET opinions
    ... Marco ... > I've used both Deklarit and llblgen recently and really like them both. ... > they'll come to trust some products. ... >> Regards, ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: graphics and diagram with pocket
    ... Excuse me if have readen only today, but I have a lot of job open a this ... > I have just written my first little graphics routine for C# on Pocket PC. ... >> best regards ...
    (microsoft.public.pocketpc.developer)
  • layers examples
    ... Where can I find some examples about javascript and the use of layers? ... Regards. ... Maurizio ... Prev by Date: ...
    (comp.lang.javascript)