IMG

 
IMG
IMG   IMG
  Welcome to GTAForums! Be sure to check out the Grand Theft Auto V Forum.

You are not registered! (If you are, click here to login) Registering is fast, free and easy and allows you to instantly reply to any topic on GTAForums.
Why wait? Click here to register your own unique username and become part of the ever-growing community!


( Log In | Register | Revalidate Validation E-mail )
Quick Log-In:
  IMG
       
>
  Reply to this topicStart new topicStart Poll

 Extract Specific Characters from Text File

 
dills  
Posted: Friday, Mar 30 2012, 21:14
Quote Post


Work it Carlton!
Group Icon
Group: $outh $ide Hoodz
Joined: Jan 22, 2005

en.gif

Member Award




I will try and explain this as best I can so please bare with me.

I have several hundred text files and am looking to extract a specific piece of information from each file. The information is contained in the exact same position (line and column) in each text file, but the contents of the information differs.

The files are named sequentially, starting at 001.txt up to something like 356.txt and the information in each file that I would like is contained at line 637, column 75 and ends at line 637, column 205.

What I am after is some sort of batch file where I can drag and drop each text file, preferably multiple at a time, onto the batch file and it extracts the specific piece of infomration I require and saves each extract into its own text file named, for example, 001_output.txt.

Is this possible?
PM
  Top
 

 
zoo3891  
Posted: Friday, Mar 30 2012, 23:41
Quote Post


 
Group Icon
Group: Members
Joined: Jun 11, 2010

pride.gif

XXXXX



Is this what you're looking to do? If so, it's answered there.
Users WebsitePMPlayStation Network
  Top
 

 
dills  
Posted: Saturday, Mar 31 2012, 08:09
Quote Post


Work it Carlton!
Group Icon
Group: $outh $ide Hoodz
Joined: Jan 22, 2005

en.gif

Member Award




That does look to be what I am after, but I am a complete novice at anything to do with programming and so have no idea what parts I need to change in order for it to fit my purposes. I'm hoping someone here that understands coding can edit that script to fit my needs.
PM
  Top
 

 

1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)

0 Members:

Topic Options Reply to this topicStart new topicStart Poll
Search topic for posted by (exact match)



 
IMG IMG