Get relative path

For general discussion related FlowStone
Post Reply
User avatar
TrojakEW
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Get relative path

Post by TrojakEW »

I'm looking for a way to get relative path so the application will always open/look in relative subfolder to application/executable/vst. Start folder and sysfolder primitive can't get this path.

In ruby:
File.expand_path(File.dirname(__FILE__))
this will get ruby path (windows\system32) folder.

I want to setup internal file list that will always look for files in specific subfolder in app relative path.
Drnkhobo
Posts: 312
Joined: Sun Aug 19, 2012 7:13 pm
Location: ZA

Re: Get relative path

Post by Drnkhobo »

"Find Files" primitive maybe?
:?:

That should give you the files in a specified folder. . . which you can test against.
strangeChild
Posts: 47
Joined: Sat Apr 27, 2013 8:04 pm

Re: Get relative path

Post by strangeChild »

There's a primitive called 'Start Folder' - returns the location of the exe/plugin.
User avatar
TrojakEW
Posts: 111
Joined: Sat Dec 25, 2010 10:12 am
Location: Slovakia

Re: Get relative path

Post by TrojakEW »

Oh I miss option for start folder primitive to set up path while testing inside flowstone. It works thanks for help.
Post Reply