Google Drive File Stream Pathname Problem

Google Drive File Stream Pathname Problem

lathander
Enthusiast Enthusiast
2,066 Views
2 Replies
Message 1 of 3

Google Drive File Stream Pathname Problem

lathander
Enthusiast
Enthusiast

Hi,
My organization is using google suite's cloud service: drive file stream. I have many 3dsmax scripts and I am tired of carrying and transfering them onto other computers all the time. So what I am trying to do is setup a cloud script folder for it so I can call them with the same pathname in macros.   

Google Drive File Stream is a basic tool. It creates a virtual drive first, then creates 2 folders in it. Named "my drive" and "team drive". You can change the letter of the virtual drive . So I made it S:\ . Yet it doesnt allow you to rename the main folders. Attached is how it looks. 


Here is my problem.  I am  located in Turkey. So google suite's interface is Turkish. 
In the virtual drive , my main folder that can't be renamed is "Drive'ım"  which means "my drive" in Turkish.
Since it has one non-mainstream letter and an apostrophe , when used in macros, it returns with errors. 

Here is a sample macro , I generally use:

macroScript imageplane
category:"lathander"
toolTip:"imageplane"
(
on execute do
(
fileIn ("S:\Drive'ım\Scripts\MS\dragNDropReferences11.ms")
)
)
--------------
this returns errors because of that folder's name.

I wonder if anyone knows how to work around this problem. 
Thank you.

0 Likes
Accepted solutions (1)
2,067 Views
2 Replies
Replies (2)
Message 2 of 3

Swordslayer
Advisor
Advisor
Accepted solution

Unless you're stuck with an old version of 3ds max, it should work (and definitely works with accented letters and whatnot here - well, unless I save the macro as non-UTF8 file but that's a given). Does going through getOpenFileName() give you the same path? Alternatively, you could use symbolic links instead (Link Shell Extension makes working with them extremely easy).

0 Likes
Message 3 of 3

lathander
Enthusiast
Enthusiast

Symbolic links works like a charm.Cat Happy Why havent I thought of it ?

Well thank you. You saved a week of mine at the least, if not a whole month. 

PS: getOpenFileName() didnt work. I have no idea what the glitch is. I am on max 2013.

0 Likes