[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: OS-COMMAND Escape Ampersand Inconsistency

  • Thread starter Thread starter ChUIMonster
  • Start date Start date
Status
Not open for further replies.
C

ChUIMonster

Guest
I mentioned the tilde as the neutral 4gl string escape character because of the \ in your path names. You are absolutely correct -- it is irrelevant in reference to escaping things once the string is passed to the OS. But if you do ever need to operate in a mixed environment tilde will serve you well for strings at the 4gl level. The brain-twisting part of this is that there are multiple layers -- there are some things that have to be escaped at the 4gl level and then others which need to be escaped at the opsys level. Where is your code that tests OPSYS? Are you testing it a runtime? Or using the pre-processor? The suggestion to create a BAT file to hide the details can be pretty helpful.

Continue reading...
 
Status
Not open for further replies.
Back
Top