Jump to content

Dakikada 1 Dosya Kopyalatma


Shredder
 Share

Recommended Posts

arkadaşlar ams de bi proje yapmak istiyorum bizim seçtiğimiz dosyayi her 1 dakikada bir masaüstüne kopyalatmak ve her seferinde yeni dosyayi eskinin üzerine yazdirmaliyim

ams de ufak tefek bilgim var ama bu iş beni aşti biraz üstadlardan ricam bi el atabilirlermi acaba?
Link to comment
Share on other sites

Bak sana yardımcı olucam ama açıklayıcı değilsin ki düzgün bir kod veriyim. Seçiceksinde dosyayı butonda mı ? Listede mi? Yani zor durumda bırakıyorsun. Kopyalayıcağın dosyanın türü ne .exe , .bat , .dll mi ?

Bunu dene istersen ben butonda denedim. Üstadlarımız daha iyi bilir belki döngü ile yaptırabilirsin.

[quote]File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
Application.Sleep(60000);
File.Copy("Autoplay\\Docs\\kopya.html", "Desktop", true, true, false, true, nil);
result = Dialog.Message("Sonuç", "Dosyanız kopyalandı.", MB_OK, MB_ICONNONE, MB_DEFBUTTON1);
[/quote]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...