in reply to Update HomeDirectory Using Win32::Ole
I've noticed that you have a blank space in your perl code:
So, where you have:
So, where you have:
It should be:$User=Win32::OLE-> GetObject("WinNT://wsi/$username", "user");
Just my 2 cents.$User=Win32::OLE->GetObject("WinNT://wsi/$username", "user");
|
---|
In Section
Seekers of Perl Wisdom