Elimination of Hex(A1) at end of target c file produced by “COPY a + b c “

pts.
Tags:
Microsoft Windows
Hello there! For a transaction file I have to merge 2 files, a and b into one. Both files haven't any EndOfFile character, as Hex(A1), but the resulting file of the COPY command does. How can I eliminate it automatically (at the moment I do it manually, which ist very stupid, isn't it?) Is there any other command I could use? Or a good .bat file? Thanks for any help - i'm looking for a solution since 3 months now, and still havent found any! Esteban

Answer Wiki

Thanks. We'll let you know when a new response is added.

Assuming you’re using “DOS” commands on Windows (as evidenced by your mention of .BAT files, use the /B option to suppress the EOF character addition.

Sheldon Linker (sol@linker.com)
Linker Systems, Inc. (www.linkersystems.com)
800-315-1174 (+1-949-552-1904)

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Esgu123
    Thank you. /B did the trick!
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following