COMMAND LINE NET COMMAND?

J

Jethro

I am experimenting with the command-line command 'net'.

When I enter 'net view' I get several entries including one that says
'amd-part-1' as a share name and 'disk' as type.

I seem to remember that I once set 'amd-part-1' up as the share name
for c drive's partition1. I no longer use it.

Anyway, I want to get rid of it. How do I do that either as a command
or within XP itself?

Thanks

Jethro
 
T

Tom Porterfield

Jethro said:
I am experimenting with the command-line command 'net'.

When I enter 'net view' I get several entries including one that says
'amd-part-1' as a share name and 'disk' as type.

I seem to remember that I once set 'amd-part-1' up as the share name
for c drive's partition1. I no longer use it.

Anyway, I want to get rid of it. How do I do that either as a command
or within XP itself?

Open Explorer, right click on the C drive and select Properties. Go to
the Sharing tab, select amd-part-1 in the share name drop list and click
the Remove Share button.
 
J

Jethro

Open Explorer, right click on the C drive and select Properties. Go to
the Sharing tab, select amd-part-1 in the share name drop list and click
the Remove Share button.

Thanks for quick response Tom. I already tried that. I do not fine
'amd-c-1' there for some reason. I only find my current share name
'amd-c' and something called 'c$'. Any other ideas? Like a command
line command?

Jethro
 
T

Tom Porterfield

Jethro said:
Thanks for quick response Tom. I already tried that. I do not fine
'amd-c-1' there for some reason. I only find my current share name
'amd-c' and something called 'c$'. Any other ideas? Like a command
line command?

Right click on My Computer and select Manage. This will bring up
Computer Management. Under the System Tools section expand Shared
Folders and select Shares. This will list all shares on your computer.
Does the amd-c-1 (or is it amd-part-1) appear under that? If so,
right click on it and select Stop Sharing.
 
P

Pegasus \(MVP\)

Jethro said:
I am experimenting with the command-line command 'net'.

When I enter 'net view' I get several entries including one that says
'amd-part-1' as a share name and 'disk' as type.

I seem to remember that I once set 'amd-part-1' up as the share name
for c drive's partition1. I no longer use it.

Anyway, I want to get rid of it. How do I do that either as a command
or within XP itself?

Thanks

Jethro

The Command Prompt commands would be:
- net share (to list all existing shares)
- net share amd-part-1 /del (to delete the share)
- net share /? (to get brief help on "net share")
- net help share (to get full help on "net share")
 
J

Jethro

Right click on My Computer and select Manage. This will bring up
Computer Management. Under the System Tools section expand Shared
Folders and select Shares. This will list all shares on your computer.
Does the amd-c-1 (or is it amd-part-1) appear under that? If so,
right click on it and select Stop Sharing.


Thanks again Tom.

I blew it in my reply by saying 'amd-c-1'. It is 'amd-part-1'. Dumb!

Anyway I tried what you say, above, and it worked just fine. Thanks

Jethro
 
J

Jethro

The Command Prompt commands would be:
- net share (to list all existing shares)
- net share amd-part-1 /del (to delete the share)
- net share /? (to get brief help on "net share")
- net help share (to get full help on "net share")

Thanks for telling me 'net share amd-part-1 /del (to delete the
share)'. I will try to remember this in the future. I don't know why
I didn't see /delete under /?, but I didn't.

I used Tom's 'graphic' method to do the job, and as I said - it
worked.

Jethro
 
P

Pegasus \(MVP\)

Jethro said:
Thanks for telling me 'net share amd-part-1 /del (to delete the
share)'. I will try to remember this in the future. I don't know why
I didn't see /delete under /?, but I didn't.

I used Tom's 'graphic' method to do the job, and as I said - it
worked.

Jethro

No, don't try to remember this. It is far more important
for you to remember that the vast majority of commands
have inbuilt help, and how to access that help function.
 
J

Jethro

No, don't try to remember this. It is far more important
for you to remember that the vast majority of commands
have inbuilt help, and how to access that help function.
Yeh - you're right. I am familiar with good old '/?' - I just didn't
read the result right. Due to senile eyeballs (which they are), I
guess. But then I am the same guy that couldn't remember amd-part-1
and called it amd-c-1. Due to senile brain cells (which they are).
Thanks again

Jethro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top