Skip to main content

AccessTr.neT


ağdaki bilgsayar dosya kopyalama

ağdaki bilgsayar dosya kopyalama

Çözüldü #1
iyi günler
Kod:
Xserver_pressfile = Nz(DLookup("[DOSYA_ADI]", "DOSYAM", "cstr(tarih)='" & CStr(DMax("tarih", "DOSYAM")) & "'"), 0)  
Xserver_hedosya = Right(Xserver_pressfile, Len(Xserver_pressfile) - InStrRev(Xserver_pressfile, "\"))
Xag_adres = DLookup("[ag_adres]", "YEDEKLE", "[sno] = 1")
Xson_adres = [Xag_adres]  & [Xserver_hedosya]

FileSystemObject.CopyFile Xserver_pressfile, Xson_adres, True

bu kodda tablodan dosya adres ve ismlerini alarak kopyalama yapmaya çalışıyorum

MsgBox Xserver_pressfile
MsgBox Xson_adres

ile dönen değerler
D:\YeDeK\YEDEK-RAR\2012-4-9-17-7.7z
\\HAMAL-PC\Users\2012-4-9-17-7.7z

FileSystemObject.CopyFile Xserver_pressfile, Xson_adres, True
komutunu nasıl yazmalıyım
teşekkürler
@benbendedeilem
Cevapla

Bir hesap oluşturun veya yorum yapmak için giriş yapın

Yorum yapmak için üye olmanız gerekiyor

ya da

Bu Konudaki Yorumlar
ağdaki bilgsayar dosya kopyalama - Yazar: accessman - 09/04/2012, 18:12
Task