Using autoload in mnl to load from onedrive business

Using autoload in mnl to load from onedrive business

mshang
Explorer Explorer
728 Views
2 Replies
Message 1 of 3

Using autoload in mnl to load from onedrive business

mshang
Explorer
Explorer

Hi All

With many of our staff now working remote, I'm looking to move our customisations from a server location to our business onedrive.

I'm having the following issue...

 

This DOES'NT work...

(autoload (strcat (getenv "userprofile") "\\Marty Company\\Drafting - General\\Standards\\ACAD\\AUTOLISP\\abc.lsp") '("abc"))

 

This DOES work...

(load (strcat (getenv "userprofile") "\\Marty Company\\Drafting - General\\Standards\\ACAD\\AUTOLISP\\abc.lsp") '("abc"))

 

Didn't really want to load everything hence the autoload

Any ideas greatly appreciated!

 

Marty...

 

 

0 Likes
729 Views
2 Replies
Replies (2)
Message 2 of 3

Sea-Haven
Mentor
Mentor

Trying to find example it can "load" from the cloud its just another drive.

0 Likes
Message 3 of 3

cadffm
Consultant
Consultant

Hi @mshang 

if i maps the OneDrive as a normal folder, it works..

 

My english isn't well enough, but perhaps you understand what i mean:

The normal location is C:\users\<user>\onedrive\... for example,

but changed the path for the content (RightClick, Properties, PATH)

to D:\MyOneDrive\Test for example, and it works with this path.

(or better: From this location, because of autoload wants a file name, not a path, that's why it is important to use autoload anly for very unique file&function names or better: set the supportpath folder on the top in your profile)

 

 

Sebastian

0 Likes