mert_ozsoy Posted October 3, 2014 Share Posted October 3, 2014 merhaba bir çalışma hazırlıyorumda bir kısmında takıldım yardımcı olursanız çok sevinirim proje dosyam aşağıda. Yapmak istediğim işlem şu... Bİlgisayarda bulunan yerel diskler comboboxda listeletmek istiyorum daha sonra yedek al butonuna basınca comboboxdan seçtiğim diskin ana dizininde klasör oluşturtmak istiyorum bu oluşturttuğum klasörün içine masaüstünde ne kadar dosya klasör vs varsa kopyalatmak istiyorum. Aynı şey şu ilk resimde çektiğim alan içinde yapmak istiyorum bu alanları kopyalatıp comboboxdan seçtiğim diske kopyalatmak istiyorum. Bana yön verecek yardımda bulunacak arkadaşlara teşekkür ederim. APZ:https://www.dropbox.com/s/zzn3aobdtnyrerx/My%20Project.apz Quote Link to comment Share on other sites More sharing options...
korasoglu Posted October 3, 2014 Share Posted October 3, 2014 result = Drive.Enumerate(); for i,v in pairs(result) do ComboBox.AddItem("ComboBox1", v, v); end Quote Link to comment Share on other sites More sharing options...
mert_ozsoy Posted October 3, 2014 Author Share Posted October 3, 2014 result = Drive.Enumerate(); for i,v in pairs(result) do ComboBox.AddItem("ComboBox1", v, v); end Hocam teşekkür ederim bunları yaptım biraz önce uğraşarak şimdi yapmak sitediğim şu Windowsdaki açık olan users klasöründekileir komple kopyalamak istiyorum bunun için nasıl bir kod yazmam lazım. Quote Link to comment Share on other sites More sharing options...
korasoglu Posted October 3, 2014 Share Posted October 3, 2014 Klasör kopyalama ile ilgili işine görecek yeterince döküman var arattır bulursun. Quote Link to comment Share on other sites More sharing options...
Editor pairs Posted October 5, 2014 Editor Share Posted October 5, 2014 os.getenv("USERPROFILE") bu sana o klasörün yolunu verecektir. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.