+ Post New Thread
Results 1 to 5 of 5
Windows Server 2000/2003 Thread, net share > c:\shares.txt not creating txt file in Technical; Hello All, Is there any reason anyone knows of that would stop net share > c:\shares.txt creating the txt file? ...
  1. #1
    ljlbray's Avatar
    Join Date
    Mar 2009
    Posts
    135
    Thank Post
    37
    Thanked 21 Times in 13 Posts
    Rep Power
    15

    Question net share > c:\shares.txt not creating txt file

    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

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    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?

  3. Thanks to srochford from:

    ljlbray (18th August 2010)

  4. #3
    ljlbray's Avatar
    Join Date
    Mar 2009
    Posts
    135
    Thank Post
    37
    Thanked 21 Times in 13 Posts
    Rep Power
    15
    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!!

  5. #4
    ljlbray's Avatar
    Join Date
    Mar 2009
    Posts
    135
    Thank Post
    37
    Thanked 21 Times in 13 Posts
    Rep Power
    15
    Ahhhhhhh stupid me, done it now thank you :-)

  6. #5

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,159
    Thank Post
    116
    Thanked 529 Times in 452 Posts
    Blog Entries
    2
    Rep Power
    125
    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 :-))



SHARE:
+ Post New Thread

Similar Threads

  1. CC3 NetList.txt
    By Hightower in forum Network and Classroom Management
    Replies: 6
    Last Post: 17th August 2010, 12:04 PM
  2. scheduled daily import of .txt file into article?
    By Avalon in forum EduGeek Joomla 1.5 Package
    Replies: 0
    Last Post: 2nd February 2010, 03:06 PM
  3. [Video] Txt Island
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 19th September 2009, 09:29 PM
  4. LanView3 Userinfo.txt
    By bogart88 in forum Network and Classroom Management
    Replies: 0
    Last Post: 23rd March 2009, 02:51 PM
  5. SMS txt via their VLE e.g. Moodle?
    By debm in forum Virtual Learning Platforms
    Replies: 8
    Last Post: 29th May 2008, 05:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •