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:
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.
For example, when running the code:
Code:
erase "`dir'\file.dta" _renamfile "`dir'\FILE.dta" "`dir'\file.dta"
Does anyone have help on how to make these case-sensitive? Thank you for any help.
Comment