RE: Changing Computer Name - $20???

2002-03-14 Thread JM
/SYSTEM/CurrentControlSet/Services/Tcpip/Parameters /NV Hostname'} = $NewComputerName; # Use David Roth's extension to change the computer name. # Only changes Env Var's Win32::AdminMisc::SetComputerName( $NewComputerName ); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROT

Changing Computer Name - $20???

2002-03-13 Thread JM
Hi I'm trying to change a computer name on a Windows 2000 PC, logged in as Administrator. It changes the Computername ENV. Var. but does not change the NetBIOS name. $20.00 to the first person that can help me get this code to work properly. . . use Win32; use Win32::AdminMisc; Win32::AdminMi

How to know the size of a file?

2002-02-16 Thread wang jm
Hello everyone, I am trying to measure the size of binary and .SWF files.I am new to Perl.Who can help me to tell me what syntax to use and how to measure?Thanks in advance. Best regards, Wang = JianMei Wang E_mail:[EMAIL PROTECTED] ***