필터 지우기
필터 지우기

List of currently open folders in Windows Explorer

조회 수: 2 (최근 30일)
Eddie Irvine
Eddie Irvine 2020년 1월 15일
편집: Eddie Irvine 2020년 5월 5일
Hello,
I would like to obtain the list of folders which are currently open in Windows Explorer (WE) via Matlab. I am currently working with Windows 10 Home Edition.
Assuming a function written in Matlab for this purpose,
function WE_folders=WE_List
....
When "WE_List.m" is run in the Matlab Command Window, the output will be "WE_folders" such that
WE_folders{1}='D:\Folder0\Folder1'
WE_folders{2}='D:\Folder2\Folder3\Folder4'
... etc.
Here, the folders 'Folder1' and 'Folder4' are currently open and "yellow colored semi-open folder icons" for these folders are both seen in the Windows bar on the (bottom of the) screen, next to the Matlab icon.
I would like to obtain the full path information of these folders (i.e., not just the names "Folder1" and "Folder4" but the complete path like 'D:\Folder0\Folder1' and 'D:\Folder2\Folder3\Folder4' )
Thank you in advance for your help and effort
  댓글 수: 2
dpb
dpb 2020년 1월 15일
That's Windoes, not MATLAB Q? re: what is available from Explorer programmatically. I've never seen any documentation on it; doesn't mean there isn't some. Only ideas I would have would be to search the MSDN Knowledge Base.
Eddie Irvine
Eddie Irvine 2020년 5월 5일
편집: Eddie Irvine 2020년 5월 5일
Thank you dpb. As a continuation of the same issue, considering smaller components of it and following your advice, I have come up with another question:
Any contribution is appreciated and thank you again

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interactive Control and Callbacks에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by