[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Get a txt file of all shares (including hidden) on windows 2000 server

Posted on 2011-04-20
Medium Priority
Last Modified: 2012-05-11
Hi Experts,
I would like to get a list of all shares similar to Shares\Shared Folders in Computer Management but in a text file. How can I get it.
Thank you so much
Question by:dguandique
1 Comment
LVL 22

Accepted Solution

Christopher McKay earned 200 total points
ID: 35435006
On the server, open a command prompt, then use this command:

net share >> c:\shares.txt

This will create a file called shares.txt on your c:\ with all the shares on that server.

Hope this helps!



Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Case Summary: In this Article we introduce the new method to configure the default user profile using Automated profile copy with sysprep rather than the old ways such as the manual copy of a configured profile to default user profile Old meth…
The environment that this is running in is SCCM 2007 R2 running on a Windows 2008 R2 server. The PXE Distribution point is running on its own Windows 2008 R2 box. This is what Event viewer showed after trying to start the WDS service:  An erro…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question