Command prompt across network

D

Don Culp

I have two computers connected through the Windows Network:

Computer 1:
Name = X1
Windows XP Pro

Computer 2:
Name = X2
Windows XP x64

From a command prompt on computer X1 I can log onto any of this computer's
local drives. For example, if I want to log onto drive C then I just type
"C:" (without the quotes).

However, from a command prompt on computer X1, if I try to log onto any of
the drives of computer X2 (e.g., by typing "\\X2\C") I get the message "The
network path was not found." (I know that the computers are connected
because I can do "dir \\X2\C" from computer X1.) Is this possible; if so,
what is the correct syntax?

Thanks,
Don Culp
 
T

Terry R.

The date and time was 9/23/2008 7:06 AM, and on a whim, Don Culp pounded
out on the keyboard:
I have two computers connected through the Windows Network:

Computer 1:
Name = X1
Windows XP Pro

Computer 2:
Name = X2
Windows XP x64

From a command prompt on computer X1 I can log onto any of this computer's
local drives. For example, if I want to log onto drive C then I just type
"C:" (without the quotes).

However, from a command prompt on computer X1, if I try to log onto any of
the drives of computer X2 (e.g., by typing "\\X2\C") I get the message "The
network path was not found." (I know that the computers are connected
because I can do "dir \\X2\C" from computer X1.) Is this possible; if so,
what is the correct syntax?

Thanks,
Don Culp

Hi Don,

A shared drive would be accessed like:
\\x2\c$


--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
D

Don Culp

Terry --

I tried your suggestion but still get "The network path was not found." I
assume that the "$" at the end is typed exactly as shown.
 
S

Steve Winograd

I have two computers connected through the Windows Network:

Computer 1:
Name = X1
Windows XP Pro

Computer 2:
Name = X2
Windows XP x64

From a command prompt on computer X1 I can log onto any of this computer's
local drives. For example, if I want to log onto drive C then I just type
"C:" (without the quotes).

However, from a command prompt on computer X1, if I try to log onto any of
the drives of computer X2 (e.g., by typing "\\X2\C") I get the message "The
network path was not found." (I know that the computers are connected
because I can do "dir \\X2\C" from computer X1.) Is this possible; if so,
what is the correct syntax?

Thanks,
Don Culp

Map a network drive (which assigns a local drive letter), then log on
using the drive letter. For example:

net use z: \\X2\C
Z:
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
D

Don Culp

Steve --

This seems to work OK. Thanks.

Steve Winograd said:
Map a network drive (which assigns a local drive letter), then log on
using the drive letter. For example:

net use z: \\X2\C
Z:
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
T

Terry R.

The date and time was 9/23/2008 8:12 AM, and on a whim, Don Culp pounded
out on the keyboard:
Terry --

I tried your suggestion but still get "The network path was not found." I
assume that the "$" at the end is typed exactly as shown.

Hi Don,

Yes, when the name of a shared resource ends with the character $, that
means it is hidden.

Click Start, Run, type secpol.msc and click OK. Navigate to Local
policies, security options, Network Access: Sharing and security model
for local accounts.

Change this option from "Guest Only" to "Classic: Local users
authenticate as themselves". See if that helps

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
 
S

Steve Winograd

Steve --

This seems to work OK. Thanks.

You're welcome, Don. :)
--
Best Wishes,
Steve Winograd, MS-MVP (Windows Networking)

Please post any reply as a follow-up message in the news group
for everyone to see. I'm sorry, but I don't answer questions
addressed directly to me in E-mail or news groups.

Microsoft Most Valuable Professional Program
http://mvp.support.microsoft.com
 
P

Pavel A.

Don said:
I have two computers connected through the Windows Network:

Computer 1:
Name = X1
Windows XP Pro

Computer 2:
Name = X2
Windows XP x64

From a command prompt on computer X1 I can log onto any of this computer's
local drives. For example, if I want to log onto drive C then I just type
"C:" (without the quotes).

However, from a command prompt on computer X1, if I try to log onto any of
the drives of computer X2 (e.g., by typing "\\X2\C") I get the message "The
network path was not found." (I know that the computers are connected
because I can do "dir \\X2\C" from computer X1.) Is this possible; if so,
what is the correct syntax?

Thanks,
Don Culp


If you mean that you want to _CHANGE_ to a remote dir
( like you do with a command cd /d X:\dir )
then this is not possible.
Current directory can not be an UNC path.
You need to map a drive letter to this path first.

--PA
 

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