The only thing so far thrwing it off is if a filename has a space in it e.g. filepath… 519430376-4 WO.stl
My guess is I need to ‘re-stringify’ each full filepath and loop those instead. So far I am just using the Rhino behaviour of auto selecting something imported to get the imported GUID and then rename it.
For a file called: 519430376-4 WO.stl, the below is reported:
C:\Users\j.hutchinson\Downloads\wetransfer-1ba4b3\519430376-4.3dm not found, unable to open
Next step will be to name them by chopping off the directory to just get “filename.fileformat…”.
Thank you Willem! So this kind of substitutes the filename within the string and interprets it, rather than the quotation marks being used to refer to it as a string?