Hello,
what i am trying to do is to copy my dlls (VB6) from a machine mac1 to another mac2(to deploy my app across few machines). I do not have any shared folders defined in mac2 but i have admin username and pwd. now currently i am trying to
share folder net use F: \mac2\c$\windows\system32 /user:mac2\admin mac2pwd /persistent:no
copy the dll from mac1 to mac2 using FSO(filesystemObject) fso.copyfile c:\copyfolder\abc.dll f:\abc.dll,true
register the dll using psexec utlity in mac2 Shell "cmd /c psexec \mac2 -u mac2\admin -p mac2pwd regsvr32.exe /s abc.dll
but i get error "network path was not found" in net use. user exists; pwd is correct; i am able to ping the machine. the machine is XP. machine is not in a domain.
is there something wrong in the code? Is there any better approches?
Thanks
what i am trying to do is to copy my dlls (VB6) from a machine mac1 to another mac2(to deploy my app across few machines). I do not have any shared folders defined in mac2 but i have admin username and pwd. now currently i am trying to
share folder net use F: \mac2\c$\windows\system32 /user:mac2\admin mac2pwd /persistent:no
copy the dll from mac1 to mac2 using FSO(filesystemObject) fso.copyfile c:\copyfolder\abc.dll f:\abc.dll,true
register the dll using psexec utlity in mac2 Shell "cmd /c psexec \mac2 -u mac2\admin -p mac2pwd regsvr32.exe /s abc.dll
but i get error "network path was not found" in net use. user exists; pwd is correct; i am able to ping the machine. the machine is XP. machine is not in a domain.
is there something wrong in the code? Is there any better approches?
Thanks