Announcement

Collapse
No announcement yet.

Rename PC from text file using serial # as reference

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Rename PC from text file using serial # as reference

    Hi guys,

    Just wondering if someone can give me a hand.

    I have approximately 50 pc's I need to image using ghost. All machines are Windows XP Pro SP3

    As part of the sysprep stage, i need to set a rename script that will browse to a text file, compare serial number of pc to serial number in text file and then rename pc to a set name.

    e.g in textfile I will have 2 columns
    Code:
    PC Serial                   PC Name
    JPAXXXXXX4A            TAUL0001
    JPAXXXXXX4B            TAUL0002
    etc
    any help would be greatly appreciated.
    Last edited by Rems; 30th June 2011, 15:19.

  • #2
    Re: Rename PC from text file using serial # as reference

    How are values separated in the text file, tab separated or fixed column size?

    Should it be a batch script or vbs?

    This posting is provided "AS IS" with no warranties, and confers no rights.

    __________________

    ** Remember to give credit where credit's due **
    and leave Reputation Points for meaningful posts

    Comment

    Working...
    X