Re: AW: setting USER and PASSWORD in NetBios Operations

2003-08-21 Thread StoneBeat
Thanks for the answer but my problem is about add share in the remote host not connect to a share. sorry if my English is bad. I want execute Netbios operations in remote hosts using arbitrary login and password . Here is another example: # use Win32::NetAdmin ;

setting USER and PASSWORD in NetBios Operations

2003-08-20 Thread StoneBeat
Hi i want to know if there is possible to use another login and password in Netbios Operations than the login session. For example i have this code: ## use Win32::NetResource; $servername = 172.17.4.214; $ShareInfo = { 'path' = C:\\test,

Re: How to implement a screen saver

2004-06-30 Thread StoneBeat
This code works for me: use Win32::TieRegistry(Delimiter=/); print Activando el salvapantallas con password \n ; $key = $Registry-{HKEY_CURRENT_USER/Control Panel/Desktop}; $key-SetValue( ScreenSaveActive,1, REG_SZ ); $key = $Registry-{HKEY_USERS/.DEFAULT/Control

Re: [SPAM DETECT] RE: Win32::Perms

2005-08-18 Thread StoneBeat
Can Win32::Security set audit ACLs ? El Jueves 18 Agosto 2005 03:37, Bullock, Howard A. escribió: I have successfully used Toby Ovod-Everett's Win32::Security as an alternative to Win32::Perms. http://search.cpan.org/~teverett/Win32-Security-0.50/ From:

Re: Retrieve USB mass-storage logical drive letter.

2007-07-18 Thread StoneBeat
Here you have a very nice example: http://www.microsoft.com/technet/scriptcenter/scripts/perl/storage/disks/drives/stdvpe01.mspx?mfr=true On 6/28/07, Yaar, Kfir [EMAIL PROTECTED] wrote: Hi, I want to retrieve the drive letter of an USB mass-storage device inserted into the computer. I