[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Windows shell script ...

From: Chris Jackson
Subject: Re: Windows shell script ...
Date: Fri, 8 Aug 2003 16:05:05 +0100

Chris Jackson wrote:

> copy C:\cygwin\tmp\*.pdf %1.pdf
> With this command, my PDF file is mangled in the process of copying:
> only the first few lines are copied over.

Found a solution to this problem now, after a quick google.   If you specify

copy /B C:\cygwin\tmp\*.pdf %1.pdf

then the file is copied in binary mode. This overrides any system default of
copying in ASCII mode, which ends the file when it meets the first EOF


reply via email to

[Prev in Thread] Current Thread [Next in Thread]