Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ChrTran and Slashes
Message
From
15/10/2007 19:26:58
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01261152
Message ID:
01261160
Views:
13
>>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.

Doh! I meant to do that... Thanks!
Previous
Reply
Map
View

Click here to load this message in the networking platform