Author Topic: OneDrive folder  (Read 14767 times)

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
OneDrive folder
« on: March 10, 2020, 09:28:23 »
Hello Mathias,

my OneDrive folder is not C:\Users\account\OneDrive but C:\Users\account\companyname (OneDrive commercial). Environment variables set accordingly:

echo %OneDrive%
C:\Users\account\companyname

echo %OneDriveCommerial%
C:\Users\account\companyname

However, MC dropdown changes directory to C:\Users\account\OneDrive

Is there anything I can do to make it use a different folder? (v9.6.1 build 2582 x64)

thanks

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: OneDrive folder
« Reply #1 on: March 10, 2020, 12:31:44 »
Well MC ask Windows for the OneDrive location. Windows keep track of that it self in newer versions of windows.
Only if Windows return that it can't find it, Does it fall backs to try the old ways and tries to get the OneDrive location from the registry and if that fails. the Sky Drive location.


xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: OneDrive folder
« Reply #2 on: March 10, 2020, 13:46:27 »
This is a Win10 machine, so I'd consider it recent. What should I check besides the environment variables?

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: OneDrive folder
« Reply #3 on: March 10, 2020, 13:58:57 »
I'm not sure, It should just work. I don't think windows get the OneDrive folder based on environment variables.

Is the OneDrive folder in the tree view in windows explorer correct ?


xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: OneDrive folder
« Reply #4 on: March 10, 2020, 14:11:52 »
Yes, with my company name and a corporate icon.

Thanks

Mathias (Author)

  • Administrator
  • VIP Member
  • *****
  • Posts: 4416
    • View Profile
    • Multi Commander
Re: OneDrive folder
« Reply #5 on: March 10, 2020, 15:57:30 »
Are you sure it is standard "Onedrive for business" ?
Might be something else.. that hook it self into windows in some other way

xian

  • Junior Member
  • **
  • Posts: 30
    • View Profile
Re: OneDrive folder
« Reply #6 on: March 11, 2020, 12:25:28 »
Yes, it is onedrive, for sure.

I've added a user defined command and button to jump into that folder, so I have a workaround. Just wondered if i could make it work with the built-in device drop-down.

thx