Posts: 53
Threads: 18
Joined: Feb 2014
10-04-2018, 10:50 AM
(This post was last modified: 10-04-2018, 12:01 PM by Valentin.)
Hello,
Is there a way to construct and save a tree structure of a drive?
I want to be able to expand or collapse this structure.
Valentin
Posts: 1,338
Threads: 61
Joined: Jul 2006
for showing a treeview can use this function
http://www.quickmacros.com/forum/showthr...7#pid25747
as for saving it to a file that can be loaded would require a bit more
maybe this post will give you more insight
http://www.quickmacros.com/forum/showthr...p?tid=4093
Posts: 53
Threads: 18
Joined: Feb 2014
Posts: 1,338
Threads: 61
Joined: Jul 2006
if you can use
Powershell ISE you can use this script to create an xml of a drive
https://gallery.technet.microsoft.com/sc...e-240be7ed
and then modify this
http://www.quickmacros.com/forum/showthr...p?tid=4093
to show the drive in treeview form