Go "Up" a folder level?
Interested in a way to go up a folder level...For example if I provide: "MacBook HD:/Users/Marcos/Music/Portishead/Dummy/" without quotes, I get "MacBook HD:/Users/Marcos/Music/Portishead/"
in return. I'm sure some C or javascript would be the best way to do this, but I'm not that proficient in either of these. Anyone care to try?
marcos
I'm a little unclear by what you mean. What are you feeding the path into that's giving you back a shorter path? Or maybe, what are you trying to get to move up a folder level?
I WANT to get back a shorter path...I am finishing my playlist touchscreen interface, and I want a "Back" button to go "Up" a folder...just how you would hit back in Finder or in Explorer...I am looking for a way to do this
Ah, I see. You could feed the path into [regexp (.+)/.+] to lop off the last folder in the path.
edit: comes out the second outlet.
Thank you sir, works nicely. Mind checking my other regexp thread haha