Rename File, DeleteFile, Create Directory in CF2.0

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Guys,

Thanks for your kind help.I am a pretty new to DOTNET2.0.

Currenttly, I want to develop some app on PocketPC to Manage file.
I can create a new File call streamreader or streamwriter.
but It does not fill up what I am doing.

I want to create a Folder, and then create some files under that folder.
somehow, I want to delete an existed file or rename an existed file.

when I read DOTNET API, sorry, I can not find the exactly API.

Is there any way to implement this function directly under DOTNET?
or I must dllimport core.dll to use C++ Golobal Function.
such as CreateDirectory, FindFisrtFile to return a file handle to operate
this function?
If things like this, Is it kind of sucks?

Thanks
 
System.IO.File.Move would probably be pretty useful. So would
System.IO.Directory.CreateDirectory.
 
Back
Top