Hi!
Batch file t.bat:
______________O\_/_________________________________\_/O______________
@echo off
if exist test del test>nul
echo ----------
echo This contents shouldn't be seen > test
echo ----------
dir test
ver /r
_____________________________________________________________________
O/~\ /~\O
Result:
______________O\_/_________________________________\_/O______________
C:>freecom/c t
----------
This contents shouldn't be seen > test
----------
File not found.
FreeCom version 0.82 pl 3 XMS_Swap [Dec 10 2003 06:49:21]
DOS version 6.22
C:>command/c t
----------
----------
TEST 34 18.03.04 19:27
MS-DOS Version 6.22
_____________________________________________________________________
O/~\ /~\O
See the differences: extra empty line above first line with dashes and no
redirection for line with apostroph in it. Now remove apostroph from batch
file:
______________O\_/_________________________________\_/O______________
C:>freecom/c t
----------
----------
TEST 33 18.03.04 19:28
FreeCom version 0.82 pl 3 XMS_Swap [Dec 10 2003 06:49:21]
DOS version 6.22
_____________________________________________________________________
O/~\ /~\O
Extra empty line is definitely bug. Is redirection hidden by apostroph bug
or feature?
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel