Is there a built-in finction to modify text files
Posted: Fri Jan 27, 2017 2:14 pm
I didnt see something like this (except the INI file editor and the XML file Editor -- and I didnt think these functions could be applied to basic text manipulation since they didnt conform to INI or XML data standards).
If needed, I can script it myself, just didnt know if I was missing something when I searched for it in help in InstallAware.
I'm making modifications to a global.asa (IIS Classic ASP config file) file.
Here's a sample of the text in the global.asa...
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("APP_DSN") = "DRIVER={SQL Server};database=somedb;server=someserver.somedomain.com;Trusted Connections=Yes;"
Application("APP_LOCATION") = "D:\files"
Application("APP_CONN_TIMEOUT") = 15
Application("APP_CMD_TIMEOUT") = 15
Application("APP_COMPANY_NAME") = "SOMECOMPANY"
Application("APP_COMPANY_INTRANET_URL") = "http://www.somecompany.com"
End Sub
</SCRIPT>
I would want to modify all the bolded data.
Thanks,
Steven
If needed, I can script it myself, just didnt know if I was missing something when I searched for it in help in InstallAware.
I'm making modifications to a global.asa (IIS Classic ASP config file) file.
Here's a sample of the text in the global.asa...
<SCRIPT LANGUAGE="VBScript" RUNAT="Server">
Sub Application_OnStart
Application("APP_DSN") = "DRIVER={SQL Server};database=somedb;server=someserver.somedomain.com;Trusted Connections=Yes;"
Application("APP_LOCATION") = "D:\files"
Application("APP_CONN_TIMEOUT") = 15
Application("APP_CMD_TIMEOUT") = 15
Application("APP_COMPANY_NAME") = "SOMECOMPANY"
Application("APP_COMPANY_INTRANET_URL") = "http://www.somecompany.com"
End Sub
</SCRIPT>
I would want to modify all the bolded data.
Thanks,
Steven