Originally posted by NickFitz
View Post
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Collapse
You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:
- You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
- You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
- If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Logging in...
Previously on "parsing tab delimited text files using windows scripting"
Collapse
-
Originally posted by NickFitz View PostIf LogParser doesn't do what you need, answer the following questions and I'll write a good, easy-to-follow tutorial for you, with working code
1. When you say "tab delimited csv files", am I right in assuming that you mean "tab separated values", and that commas (as in "comma separated values") don't come into it?
2. What do you mean by "copy and paste it here and there"? Do you mean opening other text files and inserting or appending values, putting stuff in a database, inserting stuff into spreadsheets, or any and possibly all of these?
3. It probably doesn't matter, but what text encoding are these files in - ISO Latin 1, UTF-8, Windows 1252?
4. Does the first line of the file contain the names of the fields? Is it possible that some of them will and some may not, or is it safe to always treat the first non-blank line as having that information?
Leave a comment:
-
Originally posted by Jog On View PostBeen looking for a basic tutorial on how to do this,
I'm using winautomation to script a bunch of tasks and one of them is to read plain text in tab delimited csv files and then copy and paste it here and there.
is there a good, easy-to-follow tutorial anyone can point me in the direction of?
1. When you say "tab delimited csv files", am I right in assuming that you mean "tab separated values", and that commas (as in "comma separated values") don't come into it?
2. What do you mean by "copy and paste it here and there"? Do you mean opening other text files and inserting or appending values, putting stuff in a database, inserting stuff into spreadsheets, or any and possibly all of these?
3. It probably doesn't matter, but what text encoding are these files in - ISO Latin 1, UTF-8, Windows 1252?
4. Does the first line of the file contain the names of the fields? Is it possible that some of them will and some may not, or is it safe to always treat the first non-blank line as having that information?Last edited by NickFitz; 8 October 2008, 16:46.
Leave a comment:
-
Originally posted by Jog On View PostBeen looking for a basic tutorial on how to do this,
I'm using winautomation to script a bunch of tasks and one of them is to read plain text in tab delimited csv files and then copy and paste it here and there.
is there a good, easy-to-follow tutorial anyone can point me in the direction of?
http://www.microsoft.com/downloads/d...displaylang=en
Leave a comment:
-
parsing tab delimited text files using windows scripting
Been looking for a basic tutorial on how to do this,
I'm using winautomation to script a bunch of tasks and one of them is to read plain text in tab delimited csv files and then copy and paste it here and there.
is there a good, easy-to-follow tutorial anyone can point me in the direction of?Tags: None
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- Experts you can trust to deliver UK and global solutions tailored to your needs! Yesterday 15:10
- Business & Personal Protection for Contractors Yesterday 13:58
- ‘Four interest rate cuts in 2025’ not echoed by contractor advisers Yesterday 08:24
- ‘Why Should We Hire You?’ How to answer as an IT contractor Jan 7 09:30
- Even IT contractors connect with 'New Year, New Job.' But… Jan 6 09:28
- Which IT contractor skills will be top five in 2025? Jan 2 09:08
- Secondary NI threshold sinking to £5,000: a limited company director’s explainer Dec 24 09:51
- Reeves sets Spring Statement 2025 for March 26th Dec 23 09:18
- Spot the hidden contractor Dec 20 10:43
- Accounting for Contractors Dec 19 15:30
Leave a comment: