|
|
|
|
the_rainbow, le lundi 7 avril 2008 à 17:08:37Configuration: Windows XP Firefox 2.0.0.13
J'ai regardé le package System.IO j'ai écris un bout de code:
string path = @"D:\Documents and settings\All Users\Documents\Mes images\Échantillons d'images\image1"; string path2 = path + "_2.jpg"; string path3 = @"D:\Test"; Directory.CreateDirectory(path3); File.Copy(path, path2); File.Move(@"D:\Documents and settings\All Users\Documents\Mes images\Échantillons d'images\image1_2.jpg", path3); Il créé bien un dossier et copie mon fichier image seulement je n'arrive pas à le déplacer dans le dossier que j'ai créé. Quelqu'un saurait-il m'aider? |
j'aimerais que vous m'aider
merci |