hi,
i have a vb script that copies files in a directory if it detects any files in that directory. This runs every 5 minutes, and it logs when it runs. Now, for debugging purposes, i'd like to be able to specifically log the individual files that it copies and write the filenames of the files into the log.
Set FSo=Createobject("Scripting.FilesystemObject"
fso.COPYFILE "D:\USERS\" & cname & "\INCOMING\*.*","D:\USERS\" & cname & "\ARCHIVE\INCOMING\"
this is basically the method i have to copy the files.
any assistance with this will be appreciated!
thanks
M
i have a vb script that copies files in a directory if it detects any files in that directory. This runs every 5 minutes, and it logs when it runs. Now, for debugging purposes, i'd like to be able to specifically log the individual files that it copies and write the filenames of the files into the log.
Set FSo=Createobject("Scripting.FilesystemObject"
fso.COPYFILE "D:\USERS\" & cname & "\INCOMING\*.*","D:\USERS\" & cname & "\ARCHIVE\INCOMING\"
this is basically the method i have to copy the files.
any assistance with this will be appreciated!
thanks
M