Re: how to view open shares?




lawpoop wrote:
On an XP box, how can I see what shares and files are currently
being access by other users?

Old Rookie wrote:
Try the net file command. Just enter net file in an open command
prompt window. If you are unsure how to do that enter cmd in the
run box and hit OK.

Twayne wrote:
Using Run, it'll just flash and go away before you can read it. You
could put the command in a bacth file followed by a pause to keep it
onscreen. Or just use the Command Prompt.

A direct answer for the OP later, first addressing what Twayne has said and
the confusion that may have existed in "Old Rookie"'s response...

Actually, I believe "Old Rookie" was saying that you could do the following
(if they had not put in "cmd" instead of the full word, I would have thought
like you have.):

Click on the Start button --> Click on RUN --> type in:
cmd
--> Click OK.

Then use the resulting command prompt window that appears to run your
commands in.

As an alternative...

Click on the Start button --> Click on RUN --> type in:
cmd /k <your command line command>
--> Click OK.

So you could have:
cmd /k ipconfig
or
cmd /k net file
or
cmd /k net use
or
cmd /k net localgroup administrators

Each will open a command prompt displaying the results of the command line
command you wanted and leave that command prompt window open for you to use.

Yes - I know one can also enter "command" instead of "cmd" in the RUN "Open"
box and get a command prompt - but it is not the same command prompt. A CMD
'command prompt' vs. a COMMAND 'command prompt' window discussion(s) can be
found here:
http://www.computerhope.com/issues/ch000395.htm
http://www.hyperorg.com/blogger/mtarchive/001935.html
http://www.terryscomputertips.com/computers/command-vs-cmd-dos-shell.php


However - for the OP - here is what _I_ would do to see what shares and
files are currently being access by other users...

- Right-click on the "My Computer" icon.
- Choose "Manage".
- Expand "System Tools".
- Expand "Shared Folders".
- Select "Shares" to see shares and how many clients (if any)
are actively connected to the shares.
- Select "Sessions" to see whom is connected from which
computers and how many files they have open from there as
well as additional information.
- Select "Open Files" to see which files are being accessed
actively by other users, etc.

Hope that helps!

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


.



Relevant Pages

  • Re: System Restore Wont Respond
    ... still couldn't get Malwarebytes' Anti-Malware to open. ... Get to a command prompt in safe mode and navigate to where your ... If you can't get Start, Run, cmd to work, try Start, Run, command ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Regsvr32 works cmd but not run box; Rameshs does
    ... use this DIR command in the Command Prompt: ... thes cmds to regegister or any to unregister will work from the cmd ... I used an old clean tool to uninstall One Care (provided by One Care ...
    (microsoft.public.windowsxp.customize)
  • Re: Cannot run cmd or command prompt
    ... Command, CMD, Regedit, and the command prompt ... it referenced virus infected registry lines ...
    (microsoft.public.windowsxp.perform_maintain)
  • Command prompt problem with Geode LX800
    ... I got a problem runnig command prompt under Windows CE 5.0 with ... The command prompt pop out as empty page, ... there is a CMD Error ... Low on memory or too many console windows ...
    (microsoft.public.windowsce.platbuilder)
  • Re: cannot delete file
    ... Open a Command Prompt window and leave it open. ... Leave Task Manager open. ... > specified file. ...
    (microsoft.public.windowsxp.security_admin)