It should be:$User=Win32::OLE-> GetObject("WinNT://wsi/$username", "user");
Just my 2 cents.$User=Win32::OLE->GetObject("WinNT://wsi/$username", "user");
In reply to Re: Update HomeDirectory Using Win32::Ole
by DaWolf
in thread Update HomeDirectory Using Win32::Ole
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |