ljlbray Posted August 18, 2010 Posted August 18, 2010 Hello All, Is there any reason anyone knows of that would stop net share > c:\shares.txt creating the txt file? All I want to see is our shares...I'm on an RM CC3 network, running Server 2003 - does anyone have a workaround, fix, or alternative for viewing shares? Thanks, Laura
srochford Posted August 18, 2010 Posted August 18, 2010 If you just type "net share" do you see the list? If you type "net share > %temp%\shares.txt" it should write it to the temp folder - then try "type %temp%\shares.txt" to see the contents (leave out the quotes!) If that works, it sounds like permissions aren't allowing you to write to c:\ Are you running this on the server? 1
ljlbray Posted August 18, 2010 Author Posted August 18, 2010 when I try either of these a blank dialogue box flashes up and closes straight away. net share on its own doesnt pull up anything either, I am doing this on a server, remoting in. The %temp just shows that it can't be accessed... I am logged on as administrator too!!
ljlbray Posted August 18, 2010 Author Posted August 18, 2010 Ahhhhhhh stupid me, done it now thank you :-)
srochford Posted August 18, 2010 Posted August 18, 2010 Can you explain? Were you trying to do this at the run prompt instead of the command prompt? Always useful to know what was wrong if someone else finds this thread. ("Not enough coffee this morning" is an acceptable explanation :-))
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now