Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • File path is displayed incorrectly

    Dear All,

    I believe Stata is displaying the path incorrectly in some cases.
    Consider the following example:

    Code:
    clear all
    version 19.0
    
    sysuse auto
    export delimited "C:\temp\auto.txt"
    export delimited "C:\temp\auto.txt"
    
    // END OF FILE
    It results in the following output:
    Click image for larger version

Name:	stata_output.png
Views:	1
Size:	7.7 KB
ID:	1786311


    Note that \T was processed as a special character rather than displayed verbatim.

    There is no such result when "/t" is used instead of "\t" in the path (the error is expected, but the path is displayed fully and correctly in this case):
    Click image for larger version

Name:	stata_output2.png
Views:	1
Size:	3.5 KB
ID:	1786312


    There is no such result if outsheet command is used in place of export delimited:
    Code:
    outsheet using "C:\temp\auto.txt"
    Since the file is created in the correct directory, I believe this is purely the output problem, rather than my input or general file handling.

    -------
    ​​​​​​​
    StataNow/MP 19.5 for Windows (64-bit x86-64) Revision 14 Jan 2026



Working...
X