>If EMPS.EXE is in the c:\temp directory, then I expected the result from the command below to be "c:\\temp" but it does not have the double slashes. I tried it with "ZZ" instead (just for fun) and it does replace the slash, but with only one Z, not double Z. I don't get it.
>
>
>? CHRTRAN(JUSTPATH(FULLPATH(SYS(2000,'EMPS.exe'))),'\','\\')
>
Use STRTRAN() instead.
If it's not broken, fix it until it is.
My Blog