Jump to content

Sabit Diskler Haric Bütün Cd/dvd Okuyucuları Tara


mrecep38

Recommended Posts

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

@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

@blackman12 arkadaş sabit diskler hariç demiş..Cd/dvd demiş gözünden kaçmış herhal :p

$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

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...