recentpopularlog in

therobyouknow : name   17

WMI and VBScript for Microsoft Operating Systems - Guy's Secrets
Read from "Example 1b: To Discover the ComputerName" for how to get the Windows machine name/hostname/Computer name for the machine on which the script is running. Set objNetwork = CreateObject("WScript.Network")
machineid = objNetwork.ComputerName
script  scripting  vbscript  vbs  wmi  machine  name  machinename  machineid  computer  computername  host  hostname  client  identifier  id  node  computing  work  howto  visualbasic  basic  visual  microsoft  vb  windows  programming 
june 2010 by therobyouknow
Answer: Convert month name to number
%mon2num = qw(
jan 1 feb 2 mar 3 apr 4 may 5 jun 6
jul 7 aug 8 sep 9 oct 10 nov 11 dec 12
);

print $mon2num{ lc substr($month, 0, 3) };
perl  convert  name  number  month  date  computing  howto 
january 2010 by therobyouknow

Copy this bookmark:





to read