Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Update HomeDirectory Using Win32::Ole

by DaWolf (Curate)
on Jun 07, 2005 at 09:06 UTC ( #464197=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: Update HomeDirectory Using Win32::Ole
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://464197]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (19)
As of 2014-07-22 16:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (118 votes), past polls