http://qs321.pair.com?node_id=464197


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:
$User=Win32::OLE-> GetObject("WinNT://wsi/$username", "user");
It should be:
$User=Win32::OLE->GetObject("WinNT://wsi/$username", "user");
Just my 2 cents.