How to display all shared folders

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
Carl
Posts: 3
Joined: 01 May 2019 10:47

How to display all shared folders

Post by Carl » 01 May 2019 10:50

Is there a way to display all shared folders on a given drive? Perhaps with a Power Filter?

highend
Posts: 8101
Joined: 06 Feb 2011 00:33

Re: How to display all shared folders

Post by highend » 01 May 2019 10:54

What does "display" mean in this case, show all these folders in the current pane?
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

Carl
Posts: 3
Joined: 01 May 2019 10:47

Re: How to display all shared folders

Post by Carl » 01 May 2019 15:08

highend wrote:
01 May 2019 10:54
What does "display" mean in this case, show all these folders in the current pane?
Yes.

highend
Posts: 8101
Joined: 06 Feb 2011 00:33

Re: How to display all shared folders

Post by highend » 01 May 2019 15:13

Then use a script:

Code: Select all

    $drive  = regexreplace(gpc(, "drive") . ":\", "([\\.+(){\[^$])", "\$1");
    $wmic   = runret("%COMSPEC% /c wmic share get path");
    $shares = regexmatches($wmic, "$drive[^ ]+", <crlf>);
    paperfolder("Shares", $shares, , "nl");
One of my scripts helped you out? Please donate via Paypal or highend (at) web (dot) de

Post Reply