M Mystique May 4, 2004 #1 How can i copy files with an extension (for ex: .jpg) from one folder to another ??
E Ed Courtenay May 4, 2004 #2 Mystique said: How can i copy files with an extension (for ex: .jpg) from one folder to another ?? Click to expand... Have a look at the System.IO namespace. In particular have a look at the MSDN documentation for the Copy method for System.IO.File: http://msdn.microsoft.com/library/d...pref/html/frlrfsystemiofileclasscopytopic.asp
Mystique said: How can i copy files with an extension (for ex: .jpg) from one folder to another ?? Click to expand... Have a look at the System.IO namespace. In particular have a look at the MSDN documentation for the Copy method for System.IO.File: http://msdn.microsoft.com/library/d...pref/html/frlrfsystemiofileclasscopytopic.asp
I Ignacio Machin \( .NET/ C# MVP \) May 4, 2004 #3 Hi, Use File.Copy, just remember that the target file cannot exist. Cheers,
M Mark Broadbent May 4, 2004 #4 regardless of whether it has an extension or not, one method would be to use a filestream object. -- -- Br, Mark Broadbent mcdba , mcse+i =============
regardless of whether it has an extension or not, one method would be to use a filestream object. -- -- Br, Mark Broadbent mcdba , mcse+i =============