Re: [Freedos-user] | MORE as normal text?
Hi! 11--2005 18:50 [EMAIL PROTECTED] (Fox) wrote to freedos-user@lists.sourceforge.net: F I want to redirect to a file a text containing the string | more. How can F ECHO my text | more my text myfile.txt echo my text | more my text myfile.txt But this outputs also quotes. Unfortunately, I don't know any other legal way to mask special characters. :( --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] | MORE as normal text?
On Mon, 11 Apr 2005 21:06:04 +0400 (MSD), Fox wrote: 11--2005 18:50 Fox wrote to freedos-user@lists.sourceforge.net: F I want to redirect to a file a text containing the string | more. How can F ECHO my text | more my text myfile.txt echo my text | more my text myfile.txt But this outputs also quotes. Unfortunately, I don't know any other legal way to mask special characters. :( 1) The easy way is to get send.com from http://bigfoot.com/~batfiles/main/download.htm then change your command to SEND my text $b more my text myfile.txt 2) See question (38) in Timo Salmi's fine batch programming FAQ, which shows several other methods. ftp://garbo.uwasa.fi/pc/link/tsbat.zip 3) If the text to be written will never change you can use DEBUG: echo e 100 my text 7C more my text temp echo rcx 14 temp echo n newfile.txt temp echo w temp echo q temp debug temp del temp type newfile.txt (in that batch file, 7C is | and 14 is the hexadecimal number of bytes to be written as newfile.txt (20 decimal)). --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] | MORE as normal text?
Hi! 11--2005 17:52 [EMAIL PROTECTED] (Mark Blain) wrote to freedos-user@lists.sourceforge.net: echo my text | more my text myfile.txt But this outputs also quotes. Unfortunately, I don't know any other legal way to mask special characters. :( MB 1) The easy way is to get send.com from With external utilities you may do many things - and if you get compiler/interpreter of unversal language like BASIC or C, you may do (almost) anything. But I mean standard ways in shell language, which in MS-DOS is dumb (up to void). --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95alloc_id396op=click ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user