This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Problem while replacing $USER_INSTALL_DIR$ in file
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 13, 2009
11:24 AM
Problem while replacing $USER_INSTALL_DIR$ in file
Hi ,
I am using IA2008(windows).I am using modify text file(single file) to replace the $USER_INSTALL_DIR$ in a text file .When I replace $USER_INSTALL_DIR$ in the text file it will replace like C:\ProgramFiles\sample .But I want the replaced content like C:\\ProgramFiles\\sample or C:/ProgramFiles/sample .Is there any way to do that.Any Ideas please?
Thanks in advance.
Regards
kondal
I am using IA2008(windows).I am using modify text file(single file) to replace the $USER_INSTALL_DIR$ in a text file .When I replace $USER_INSTALL_DIR$ in the text file it will replace like C:\ProgramFiles\sample .But I want the replaced content like C:\\ProgramFiles\\sample or C:/ProgramFiles/sample .Is there any way to do that.Any Ideas please?
Thanks in advance.
Regards
kondal
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 13, 2009
12:31 PM
You employ a second Modify Text Action in order to replace \ with either \\ or /
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 16, 2009
10:04 AM
Thanks .It's working.
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)