I would like to use Matlab 2014a to open a protected windows explorer folder by signing in as a specified/defined user (this user is different from the windows account user). Is this possible?

3 次查看(过去 30 天)
Do you have any recommendations on how to do this on a Windows machine?

回答(1 个)

Soumya Saxena
Soumya Saxena 2017-9-15
You may consider using the following command to open a folder :
[~, userdir] = system('echo %USERPROFILE%')
Please also note that you can use the "winopen" command:
In addition the following file exchange submission called "explore.m" may also be helpful:

类别

Help CenterFile Exchange 中查找有关 Adding custom doc 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by