I don't know a lot about scripting or vbs. But can I take the below Lines of text starting at CONST and paste that into a notepad and save it as .vbs does that work or do I need to use some vbs program?
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Devan Pala Sent: Friday, February 11, 2005 2:02 PM To: ActiveDir@mail.activedir.org Subject: RE: [ActiveDir] Display Computer Name on Desktop The code would help right.....8-) Const MY_COMPUTER = &H11& Set objNetwork = CreateObject("Wscript.Network") objComputerName = objNetwork.ComputerName Set objShell = CreateObject("Shell.Application") Set objFolder = objShell.Namespace(MY_COMPUTER) Set objFolderItem = objFolder.Self objFolderItem.Name = objComputerName ----Original Message Follows---- From: "Salandra, Justin A." <[EMAIL PROTECTED]> Reply-To: ActiveDir@mail.activedir.org To: <ActiveDir@mail.activedir.org> CC: <[EMAIL PROTECTED]> Subject: [ActiveDir] Display Computer Name on Desktop Date: Fri, 11 Feb 2005 13:41:15 -0500 I have a question, is there a way to display the computer name on the desktop either through a login script or via GPO? Justin A. Salandra MCSE Windows 2000 & 2003 Network and Technology Services Manager Catholic Healthcare System 212.752.7300 - office 917.455.0110 - cell [EMAIL PROTECTED] List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/