• 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!

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.

Previously on "parsing tab delimited text files using windows scripting"

Collapse

  • Jog On
    replied
    Originally posted by NickFitz View Post
    If 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?
    PM sent!

    Leave a comment:


  • Bob Dalek
    replied
    Originally posted by NickFitz View Post
    If 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?
    I think he's been sacked for trashing Domain Controller registries and wiping hard drives.

    Leave a comment:


  • NickFitz
    replied
    Originally posted by Jog On View Post
    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?
    If 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?
    Last edited by NickFitz; 8 October 2008, 16:46.

    Leave a comment:


  • Spacecadet
    replied
    Originally posted by Jog On View Post
    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?
    use log parser
    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?

Working...
X