Hi forum. I need a script that copyes a set of files from server to network share. I would like to audit which folders(content of that folders) and files were copyed. I would like to make a log file in which are loged all files & folders & content of that folders. Script that i made so far autit only files, but not folders. It looks like this:
for each oFile in oFolder.files
oFSO.copyfile oFile.path, trgFolder & "\" & oFile.name, true
oTS.writeline now & "_" & oFile.path & "_" & oFile.DateLastModified
next
Can someone give me direction or some adwice how to make this. THX and sorry for my bad English.
for each oFile in oFolder.files
oFSO.copyfile oFile.path, trgFolder & "\" & oFile.name, true
oTS.writeline now & "_" & oFile.path & "_" & oFile.DateLastModified
next
Can someone give me direction or some adwice how to make this. THX and sorry for my bad English.