Announcement

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

  • Erase and _Renamefile not case sensitive

    Hello, I am trying to delete/rename files from directory and encountering that commands -erase- and _renamefile seem to be case-insensitive.
    For example, when running the code:
    Code:
    erase "`dir'\file.dta"
    _renamfile "`dir'\FILE.dta" "`dir'\file.dta"
    both produce undesired results/errors; in the first case, command -erase- deletes the file named "FILE.dta; and in the second case, error "file "file.dta" already exists", even though what is in the directory is FILE.dta.
    Does anyone have help on how to make these case-sensitive? Thank you for any help.

  • #2
    Stata is case-sensitive; Windows is not. The problem is with Windows not Stata.

    Comment


    • #3
      Okay. Thank you for your help.

      Comment

      Working...
      X