Jump to content

Add some string of characters after each line of a .txt file


Recommended Posts

Hi,

I want to build a package with ISTool. I have about 1700 files to include in the package. The problem is that with ISTool you can't

specify a destination directory other that {app}. Since are a lot of files, I need a script which will add some text after the end of {app}

For example, these lines:

Source: {app}\mh.atl; DestDir: {app}
Source: {app}\mi.atl; DestDir: {app}
Source: {app}\mn.atl; DestDir: {app}

I need to look like this:

Source: {app}\mh.atl; DestDir: {app}\Plugins
Source: {app}\mi.atl; DestDir: {app}\Plugins
Source: {app}\mn.atl; DestDir: {app}\Plugins
Link to comment
Share on other sites

??? You can type the Directory in by hand in ISTool->Files/Directories->New Entry , I think. At least it works for me

*GERMAN* [note: you are not allowed to remove author / modified info from my UDFs]My UDFs:[_SetImageBinaryToCtrl] [_TaskDialog] [AutoItObject] [Animated GIF (GDI+)] [ClipPut for Image] [FreeImage] [GDI32 UDFs] [GDIPlus Progressbar] [Hotkey-Selector] [Multiline Inputbox] [MySQL without ODBC] [RichEdit UDFs] [SpeechAPI Example] [WinHTTP]UDFs included in AutoIt: FTP_Ex (as FTPEx), _WinAPI_SetLayeredWindowAttributes

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...