Hey everyone
I thought I got everything working. But alas no...
Upon execution an error appear saying "Access Denied". I tried just the same script but with CopyFile instead of MoveFile. It works fine. I assumed that when IT applied elevated privileges then it would work. But no, same "Access...
Hey Guitarzan
thanks for the code!
I had to alter it slightly to work.
I had to change the
StrDestinationLocation = "C:\MyFolder"
to
StrDestinationLocation = "C:\MyFolder\"
and change
fso.MoveFile fil.Path & ", " & StrDestinationLocation
to
fso.MoveFile fil.Path, StrDestinationLocation...
Hi
My first thread here...
This is a similar thread to the one recently posted about searching for text within a text file and then executing a line of code or not depending on whether the text string was found.
I want to achieve something similar.
Basically I want to test all files in a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.