[THIN] Re: Rebuild of server fixed published app. not launchi ng...

Kix (and probably other scripting languages) has specific functions for
ini file manipulation.

I would suggest a global search and replace is what you should do (ie in
vi / sed speak %s/\\/\//g ;-)) - moreover finding the section and value
- then changing the string selectively.

Neil

> -----Original Message-----
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Schneider, Chad M
> Sent: 21 December 2005 19:39
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Rebuild of server fixed published app. 
> not launchi ng...
> 
> True, but the line is more like....."Queue 
> Name=client\067-pack13#\label", where the clientname# varies 
> to each user.  I can't do a simple find/replace, I don't 
> believe, changing \ to / could affect other areas of the INI.
> 
> ________________________________
> 
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jay Moock
> Sent: Wednesday, December 21, 2005 1:34 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Rebuild of server fixed published app. 
> not launchi ng...
> 
> Yes, but if the .ini contains a string such as
> 
> Printer=client\whatever
> 
> where the whatever portion can vary from user to user, it 
> would be easy to script a change of "client\" to "client/" 
> and leave the rest intact.
> 
> ________________________________
> 
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Schneider, Chad M
> Sent: Wednesday, December 21, 2005 2:23 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Rebuild of server fixed published app. 
> not launchi ng...
> 
> Every user's INI is unique.
> 
> ________________________________
> 
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Jay Moock
> Sent: Wednesday, December 21, 2005 12:02 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Re: Rebuild of server fixed published app. 
> not launching...
> 
> Could you script the .ini change?
> 
> ________________________________
> 
> From: thin-bounce@xxxxxxxxxxxxx 
> [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf Of Schneider, Chad M
> Sent: Wednesday, December 21, 2005 12:55 PM
> To: thin@xxxxxxxxxxxxx
> Subject: [THIN] Rebuild of server fixed published app. not 
> launching...
> 
> Now...I had seen PS 4.0 on 2003, legacy printers are created 
> "client/" naming convention.  I have 2000 servers, MPS 3.0 
> when it is "client\".  I installed MPS 3.0, on this new 2003 
> server, legacy printer policy works, but creates as 
> "client/".  I am not sure this will work, as we have an app. 
> that is to run on these servers, which has an ini, containing 
> printer information, and it is hardcoded as "client\".
> 
> DOH!
> 
> Thoughts?
> 
> I would just move forward, but would have to change INI for 
> that app., in hundreds, maybe thousands of roaming profiles.
> 
> Chad Schneider
> 
> Technology Analyst/Citrix Admin.
> 
> Bemis Company, Inc.
> 
> 920-303-7609
> 
> 



*****************************************************************************
This email and its attachments are confidential and are intended for the above 
named recipient only. If this has come to you in error, please notify the 
sender immediately and delete this email from your system. You must take no 
action based on this, nor must you copy or disclose it or any part of its 
contents to any person or organisation. Statements and opinions contained in 
this email may not necessarily represent those of Littlewoods Shop Direct Group 
Limited or its subsidiaries. Please note that email communications may be 
monitored. The registered office of Littlewoods Shop Direct Group Limited is 
100 Old Hall Street Liverpool L70 1AB registered number 5059352
*****************************************************************************




This message has been scanned for viruses by BlackSpider MailControl - 
www.blackspider.com
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
http://www.freelists.org/list/thin
************************************************

Other related posts: