@JustScriptIt
When using WMI to connect remote file system, you have to use \\ intsted of Eg: C:\\mainfolder\\subfolder.
Below code works for me, when I connect to remote fie system.
Set ObjWMI = GetObject("WinMgmts:\\" & StrIP & "\root\CIMV2")
Set ColItem = ObjWMI.ExecQuery("SELECT * FROM...
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.