Welcome!

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

SignUp Now!

@Full and unquoted argument

Jun
98
0
Hello. I've got strange results.

Current directory is "Z:\PortableApps"
It is working fine in TCC/LE

Code:
[Z:\PortableApps]echo %@full[c:\Program Files]
Z:\PortableApps\Files\c:Program
It looks wrong. Even if quoting would be required.

TCC 17.00.69 x64 Windows 7 [Version 6.1.7601]

Merry Xmas :)
 
The quotes are not optional. What your syntax is saying is to return the full pathname of a file named "c:\program", using the path "Files", which since it doesn't have a drive or relative path will default to the current directory. So @FULL is returning what you requested.
 
Thanks for quick reply.
Is space used as arguments separator instead of comma?
Ech... many changes for my scripts :(
 
Last edited:
While v16 also documents the need for quotes, it behaves a little better.
Code:
v:\> ver & echo %@full[c:\Program Files]

TCC  16.03.55  Windows 7 [Version 6.1.7601]
C:\Program Files
 
Back
Top
[FOX] Ultimate Translator
Translate