Appreciate if anyone can suggest how to overcome the presence of blanks in an environment variable used as a path in 4NT or TCC. The issue has arisen due to my root diretcory being moved onto a path that has imbedded blanks.
I use these paths extensively in various BAT files and in normal command line mode and do not want to have to make these changes if there is another easy solution.
TCC: (Sys) Das System kann die angegebene Datei nicht finden.
C:\dir "c:\directory with blanks" shows the directory normally.
command syntax, and requires enclosing some filenames in quotation marks.
@QUOTE detects if the path is already quoted and will not quote it doubly.
Thanks for your suggestions - seems like there is no easy fix other than avoiding blanks in LFN - which is what I do anyway when it is under my control.
The @QUOTE does seem useful however and I'll see where I might be able to make use of that.
When it's not under your control, SUBST is your friend. Or directory aliases.
subst q: "c:\documents and settings"