!explorer No Permision

I've uploaded an image to do the talking for me :)
How can I solve this?
EDIT: It might be helpful to point out that my problem has start with winopen not opening folders, and after some googling I've arrived at this error message I've posted.
Also, I've already tried to play all kinds of permissions, and nothing worked so far.
Lastly, this problem started after I've replaced my computer with a laptop. Both run Windows 7, both are 64 bit, and both run the same Matlab version (2013a), but for some reason, the laptop gives this error (and in case anyone is wondering, my code is 100% 'correct', because it worked on the PC (and other PCs for that matter) and has not changed ever since).

回答(2 个)

It worked for me (R2015b and Windows 10).
Perhaps you want to call winopen to the folder you want:
folder = 'C:\whatever';
winopen(folder);
Does that work?

2 个评论

Nope. Actually, my problem start with winopen not opening folders, and I've arrived at this error message I've posted.
If you run explorer from a command console window, or an icon, what folder does it open up to?

请先登录,再进行评论。

It seems like the startup folder of the Explorer contains an invalid path. Try to set the path manually:
!c:\windows\explorer.exe /n,/e,c:\
Does this work?
Then check the default folder:
Perform a shift-right-click on the explorer icon in the task bar. Open the "Properties" tab and adjust the "Target", e.g. to "%windir%\explorer.exe /e,D:\". See also: http://www.howtogeek.com/howto/17415/set-the-windows-explorer-startup-folder-in-windows-7
Note that this is a problem of the operating system, not of Matlab. Therefore it is off-topic in this forum.

7 个评论

I will try and update. I'm aware that this is not strictly a Matlab problem, but since it's putting a damper on my capabilities to work with Matlab (and btw, I didn't experience any other non-related problems that might have something to do with this permission thing), I therefor consider it to be a Matlab problem. Your understanding is appreciated :)
Still nothing :(
Then call tech support.
Please explain "nothing" with any details. What happens if you run
!c:\windows\explorer.exe /n,/e,c:\
And if you assume, that this is a Matlab problem, try it from the commandwindow of the operating system: Open the cmd window and type:
c:\windows\explorer.exe /n,/e,c:\
What happens? Do you have the permissions to display C:\ ? Can you see it in the Windows Explorer?
Jan, when trying: !c:\windows\explorer.exe /n,/e,c:\ -- literally nothing happens.
When trying c:\windows\explorer.exe /n,/e,c:\ in the cmd terminal, explorer open the C:\ directory.
It worked for me, sooooooooooooooooo we're back to calling tech support, like I suggested. What happened when you called them today? Did they help you?
I know it works on other computers, and I know it's probably a 'windows problem', but I can't find a way to fix it, and in the meantime it's only affecting my Matlab working capabilities.
I was hoping that someone around here had encountered this problem before, that's all :)
Tech support didn't respond for some time now (and yes, I have a confirmation mail that my question was filed successfully).

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Startup and Shutdown 的更多信息

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by