1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Hey johnwill... gotta question

Discussion in 'All Other Software' started by jimtnc, Aug 4, 2003.

Thread Status:
Not open for further replies.
Advertisement
  1. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    I've got a small app that strips off the eof box of each file. Unfortunately, I can't seem to get it to work in my environment. Didn;t you say you had a little utility that strips the Ctrl-Z off the end of text files? Wonder if you'd let me use it? Thanks.
     
  2. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    bump!
     
  3. dai

    dai

    Joined:
    Mar 6, 2003
    Messages:
    11,198
    i think johnwill said he would be away for a couple of weeks unless i misread it
     
  4. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    I'm back. :) I have a little DOS utility that strips them, if I had a place to email it, I'd send it to you. :)
     
  5. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    You can send it to [email protected]. I was able to about clear everything up except the last eof that gets written, and I couldn't change the file to binary because the client needs text to pick it up.

    I want to thank you again for your help.

    Jim.
     
  6. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    On it's way.
     
  7. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    Thanks johnwill. It must be taking a long time to packet through...haven't got it yet. I will check for it a little later.
     
  8. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    Well, it didn't bounce back to me, so I'm not sure where it went. :) I changed my SMTP server to an alternate and sent it again.
     
  9. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    Ok, I got it. Thanks johnwill.

    BTW, would you happen to have the source code for that little ditty? I need to set it up in a batch file (not exec from the command line) and i'm not sure how to syntax the execute line, ie, proper code to point to the source file and program (do I call it or just exec it there?).

    For instance, here is one typical program call segment in one job:
    echo ====================
    echo + Test File Unzip...started +
    echo ====================
    Call tstunzip C:\Tstftp C:\Pwork xxx xxx
    echo ====================
    echo + PMR File Unzip Complete! +
    echo =====================
    rem
    ...would I dosomething like this-"noz %4\P_pj%3.txt" or
    "call noz"?

    Thanks.
     
  10. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    I use it in batch files, you just put it in the batch stream with the file name to be cleaned, simple.

    NOZ {file_name}

    No, I don't have the source for it, though it would be simple to whip up something like this in C if I actually needed it.
     
  11. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    Ok, thanks...I'll try it that way. Don't know C.

    Does the "NOZ" have to reside in the same folder the file is located, and how does that work?
     
  12. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    bump!!
     
  13. JohnWill

    JohnWill Retired Moderator

    Joined:
    Oct 19, 2002
    Messages:
    106,418
    The NOZ program just has to be on the path. I have a directory for all my old DOS utilities that I have on my path, that's where NOZ lives too.
     
  14. jimtnc

    jimtnc Thread Starter

    Joined:
    Jul 24, 2003
    Messages:
    27
    Ok, thanks.
     
  15. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/152440

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice