Results 1 to 2 of 2

Thread: Computer Name??

  1. #1
    TymZon
    Guest

    Exclamation Computer Name??

    Hallo World,

    A simple question, is there a way to change a computer name using VBScript?

    Thanx in Advance

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Location
    Or
    Posts
    316
    No,

    You cannot change the computername through VBscript. You can only get the computername.

    VB Code:
    1. 'Microsoft example:
    2. Set objNet = WScript.CreateObject("WScript.Network")
    3. WScript.Echo objNet.ComputerName

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width