Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting the folder/location of a file from string
I just used OpenSaveDialog, and got a string back. What's the simplest way of getting the path/location/folder of that file?
Macro Macro1687
Copy      Help
str s="c:\a\b\c.d"
str path.getpath(s "")
out path
thanks so much,
I don't use QM often, so it's hard for me to tell whether a function is part of it or needs to be coded

Forum Jump:

Users browsing this thread: 1 Guest(s)