Hi Kerry

And here comes tons of verbose Lingo (I try to make Colin happy ;¬)

I'm trying to get the directory above the moviePath, and my brain is in
vaporlock.

a.) set the itemDelimiter to the foler delimiter (ie the last char of the moviePath)
b.) remove the last chunks of the moviePath to come back in the parent folder



the itemDelimiter = the last char of the moviePath strPath = the moviePath put strPath -- "E:\Dev\BAB3\__Src\Media\Dir\" -- remove the last '\' or ':' delete the last char of strPath -- remove the last folder delete the last item of strPath -- add the floder delim put the last char of the moviePath after strPath put strPath -- "E:\Dev\BAB3\__Src\Media\"

Hope this helps
séb


[To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]

Reply via email to