I did a lot with 4DOS about 20 years ago, but only lately tried to use TCC, and just can't get it anymore.
For example, take a file named "test sub.txt". If I execute from the command line, echo %@filedate["test sub.txt",w,4], I get the date I want in the expected format. But not if I set f="test sub.txt" and try to echo %@filedate[%f,w,4] or %@filedate["%f",w,4]. No matter what I do I get "The system cannot find the file specified."
What am I missing?
For example, take a file named "test sub.txt". If I execute from the command line, echo %@filedate["test sub.txt",w,4], I get the date I want in the expected format. But not if I set f="test sub.txt" and try to echo %@filedate[%f,w,4] or %@filedate["%f",w,4]. No matter what I do I get "The system cannot find the file specified."
What am I missing?