[Closed] Hello guys, problem with paths
Hello guys, I’m a newbie in maxscript so I’m just having an issue.
I need to load present from a Nas (buffalo terastation), im trying to modify a plugin where the default path for preset is
local presetFiles = getFiles (GetDir #maxroot + “renderpresets\*.rps”)
my desired path is:
\TERASTATION\Share\progetti\MYD3SIGN\renderpresets
but I can’t find the file, surely im wrong in something, how can i fix it? thank you so much guys
First of all thanks for the answer.
So my code is:
local presetFiles = getFiles “\TERASTATION\Share\progetti\MYD3SIGN\renderpresets\.rps”
but it doesn’t work, this instead works fine:
local presetFiles = getFiles “C:\Users\utente\Desktop\dsa\.rps”
So I imagine that I need to convert my string in some way, maybe to unc, i tried but it doesn’t work. How can I set this path correctly?
On which drive is this:
"\\TERASTATION\Share\progetti\MYD3SIGN\renderpreset s\\*.rps"
How the script to knows whre to search for the folder? Use the full path to “renderpreset s”