LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-Mar-2009, 07:30 AM
Member
 
Join Date: Feb 2008
Posts: 36
Varuniw 0 reputation points
Default Re-registering a Workstation..

Dear All,

I have done a Zen app to Re-register Workstations (we use Zen 6.5, Netware 6.5 , XP SP2 desktops). On our PCs in the host file we have a line which has the "IPaddress of the Zen Import Server Zenwsimport".

Is there a way for me to take this line out using some kind of a script. The only problem is the IPAddress could be anything, so ideally what I want it some script to go and search for the word "Zenwsimport" and delete it, then I can insert the correct IP.

Any help much appreaciated.

Thanking you in advance.
Varuni
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 01:19 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2