Write to c:\ on another computer
I'm not even sure if this is possible but thought I'd ask anyway. Sorry in advance, I'm sure the question could be worded better.
Is it possible to write a file to the C:
drive of another computer on your network?
The C:
drive of PC1
has a user account with full access rights called User1
.
User2
(who is logged into PC2
) knows the username and password of user account User1
.
Can User2
write a file to the C:
drive of PC1
.
Hope that makes sense. If you have any question I'll try my best to answer them.
Thank you for everyone's answers.
EDIT
After doing a little more digging I think I've found the answer but I can't test until I get to work tomorrow.
The answer - command line "NET USE Z: \PC1\C$\ /user username1 /pa开发者_运维知识库ss password1"
If you shared the C: drive on PC1 you could access the network drive just like a local drive...
It's not possible unless the other computer is sharing the C:\
out on the network. If it is shared, you can access it using \\computername\share
(where "share" is the name of the c:\ share and "computername" is the network name of your computer.)
As ChrisF points out in the comments, there is a default share named C$
that you might be able to use.
精彩评论