mrecep38 Posted August 27, 2010 Share Posted August 27, 2010 FileCopy ( "C:\Documents and Settings\Administrator\Desktop\Sık Kullanılanlar", @FavoritesDir & "\", 1) Buradaki "C:\Documents and Settings\Administrator\Desktop\Sık Kullanılanlar" yolundaki dosyaları kopyalamak yerine; sabit diskler hariç bütün cd/dvd okuyucuları tarayıp, Sık Kullanılanlar klasörünü bularak FileCopy yaptırabilir miyiz? Link to comment Share on other sites More sharing options...
blue_life Posted August 27, 2010 Share Posted August 27, 2010 @mrecep38 Çok karışık bir anlatmışsın. Aşağıdaki gibi bir sorumu sormak istiyorsun? Benim CD sürücümün anadizininde (rootunda) Deneme adlı bir klasör var. Ama ben CD sürücümün harfini bilmiyorum. Bunu bulup FavoritesDir konumuna nasıl kopyalarım? Link to comment Share on other sites More sharing options...
blackman12 Posted August 27, 2010 Share Posted August 27, 2010 $deneme = "" $k = DriveGetDrive("ALL") for $i = 1 to $k[0] if FileGetAttrib($k[$i]&"\Projeler") <> "" then $deneme = $k[$i] Next if $deneme <> "" then MsgBox(0,"deneme","Geçerli Dizin: "&$deneme) Link to comment Share on other sites More sharing options...
djonur007 Posted August 28, 2010 Share Posted August 28, 2010 bunu basit bir cmd komut ilede yapabilirsin. Link to comment Share on other sites More sharing options...
MostWanted Posted August 28, 2010 Share Posted August 28, 2010 @blackman12 arkadaş sabit diskler hariç demiş..Cd/dvd demiş gözünden kaçmış herhal $deneme = "" $k = DriveGetDrive("CDROM") for $i = 1 to $k[] if FileGetAttrib($k[$i]&"\Projeler") <> "" then $deneme = $k[$i] Next if $deneme <> "" then MsgBox(,"deneme","Geçerli Dizin: "&$deneme) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.