CopyFile Methode

P

peter1101

hallo leute

gibt es eine möglichkeit die copyfile methode nach dateiendungen zu bestimmen ?


Code:
access.CopyFile(
         @"\My Documents\*.txt",
         @"\Windows\*.txt", 0);
         throw new ExitException();

vielen dank im voraus
 
ich bin anfaänger und hoffe das mir jemand helfen kann ?



Code:
access.CopyFile(
                        @"\My Documents\", Filename ,
                        @"\Windows\", Filename , 0);
                    throw new ExitException();
 
Hi und Willkommen bei tutorials.de :)

Was ist denn access für ein Datentyp?
Nach C++ schaut das nämlich weniger aus...
 
es soll ein app für wp7 werden eher für mich persönlich

Code:
                    InitializeComponent();

                    HTCFileAccess access = new HTCFileAccess();
                    access.CopyFile(
                        @"\My Documents\*.txt",
                        @"\Windows\*.txt", 0);
                    throw new ExitException();
                     });
	};}

	public class ExitException : Exception


ich hoffe du meinst das
 
Zuletzt bearbeitet von einem Moderator:
Zurück