Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Finding Files
Copy      Help
Dir d; str sPath
str x="c:\smithdr\200609*.txt"
str y
foreach(d x FE_Dir 0x4)
    y.from(y sPath); err
out y

What I get as a result is one long string:

Copy      Help

What I need is to insert [] between the file names:
Copy      Help

How do I fix this Sad
do this.

,y.from(y "[]" sPath); err
A new blog on QM coding and automation.

The Macro Hook
Almost there but not yet. I need the string to look exactly like this, including the open and close quotes:

Copy      Help

not a physical hard return Tongue
Use escape sequence [91] instead of [. Or, even easier, 2 strings: "[" "]".
Thanks so much!!!

Forum Jump:

Users browsing this thread: 1 Guest(s)