| View previous topic :: View next topic |
| Author |
Message |
rousni
Joined: 23 Mar 2006 Posts: 46
|
Posted: Sun Nov 11, 2007 8:58 pm Post subject: FileAppend, % Chr(10), 2-bytes file.txt |
|
|
| Code: | | FileAppend, % Chr(10), 2-bytes file.txt |
I would like to append only one char - Chr(10) -
but this appends Chr(13)+Chr(10)
Can this be avoid?
Thank you for your help |
|
| Back to top |
|
 |
BoBoĻ Guest
|
Posted: Sun Nov 11, 2007 9:12 pm Post subject: |
|
|
Indeed. Just use the RTFM parameter!
| Quote: | | Binary mode: To append in binary mode rather than text mode, prepend an asterisk to the filename. This causes each linefeed character (`n) to be written as as a single linefeed (LF) rather than the Windows standard of CR+LF. For example: *C:\My Unix File.txt |
 |
|
| Back to top |
|
 |
rousni
Joined: 23 Mar 2006 Posts: 46
|
Posted: Sun Nov 11, 2007 9:15 pm Post subject: |
|
|
I am very sorry, this is in the help file:
| Quote: | | To append in binary mode rather than text mode, prepend an asterisk to the filename. This causes each linefeed character (`n) to be written as as a single linefeed (LF) rather than the Windows standard of CR+LF. |
I love AutoHotkey  |
|
| Back to top |
|
 |
|