Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

UNIQUE[] without parameters gives error

With v17, when I use

[C:\Program Files\JPSoft\TCMD17x64]echo %@unique[]
TCC: (Sys) The parameter is incorrect.
""

yet with v16, I get the expected temporary filename.

The solution was to give it a PATH

[C:\Program Files\JPSoft\TCMD17x64]echo %@unique[c:\temp]
C:\temp\UNI5505.tmp

Not sure what is going on here; a batch file became ornery. The "What's New" states that UNIQUE had been updated.
 

Similar threads

Back
Top