No errors. Nothing is happening. But If change the Directory Name to C:\DAK_TEST and place all the files, it is fine. Do I have to add change directory somewhere ?
The following script is working on C drive, but not in D drive. (D is a local drive - NOT a Mapped drive). Any idea ?
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set FileList = objWMIService.ExecQuery...
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.