Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ChrTran and Slashes
Message
 
 
To
15/10/2007 18:57:40
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01261152
Message ID:
01261157
Views:
9
This message has been marked as the solution to the initial question of the thread.
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform