#173 TAB not recognized as filename separator

0.61
closed
shell (25)
5
2012-09-07
2004-02-14
No

I think there is a bug in the DOSBox command parse. The
attached file shows how a TAB is not a valid filename
separator. For clarity, the important SPACE's and TAB's
have been converted to "[SPACE]" and "[TAB]":

@echo off

if exist C:\Temp\TabTest.Bat[SPACE]echo A space is fine.
if exist "C:\Temp\TabTest.Bat"[SPACE]echo Quotes and a
space is fine.
if exist C:\Temp\TabTest.Bat[TAB]echo A tab is fine.
if exist "C:\Temp\TabTest.Bat"[TAB]echo Quotes and a
tab is fine.

The expected outout is:

A space is fine.
Quotes and a space is fine.
A tab is fine.
Quotes and a tab is fine.

but with DOSBox 0.61, the output is:

A space is fine.
Quotes and a space is fine.
Quotes and a tab is fine.

Discussion

  • Peter Veenstra
    Peter Veenstra
    2004-02-18

    Logged In: YES
    user_id=535630

    you are right.
    it's not a fileseperator problem. it's a command seperator
    problem

    Fixed it.