Xeon Posted January 29, 2013 Share Posted January 29, 2013 Masa üstüne Klasör oluşturmak İstiyorum Fakat Klasörün İsmi o Günün Tarihi Olacak bilgisayar yeniden başladığında yada ilk açıldığında program klasörü oluşturacak fakat aynı klasör varsa hiçbir şey yapmayacak klasör aynı kalacak umarım anlatabilmişimdir bat. dosyası Vbs. kodlardan anlamadığım için buraya yazdım ilgilenenlere şimdiden teşekkür. Quote Link to comment Share on other sites More sharing options...
blackman12 Posted January 29, 2013 Share Posted January 29, 2013 AutoIT formatındadır, geliştirilebilir ama en basit şekliyle durum bundan ibaret, fonksiyonu çalıştırman yeterli msgbox ı silip, compile ettikten sonra da başlangıca ekledin mi tadından yenmez ;) MsgBox(0,"",_GunlukKlasor()) Func _GunlukKlasor($kYolu = @DesktopDir) Local $kAdi = @MDAY & "." & @MON & "." & @YEAR if StringRight($kYolu,1) <> "\" Then $kYolu &= "\" if FileExists($kYolu) and StringInStr(FileGetAttrib($kYolu),"D") Then if FileExists($kYolu&$kAdi) Then Return SetError(2) Else DirCreate($kYolu&$kAdi) Return SetError(0) EndIf Else Return SetError(1) EndIf EndFunc Quote Link to comment Share on other sites More sharing options...
Xeon Posted January 30, 2013 Author Share Posted January 30, 2013 Teşekkürler blackman12 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.