Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting the folder/location of a file from string
#1
I just used OpenSaveDialog, and got a string back. What's the simplest way of getting the path/location/folder of that file?
#2
Macro Macro1687
Code:
Copy      Help
str s="c:\a\b\c.d"
str path.getpath(s "")
out path
#3
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)