1.

Solve : NET USE COMMAND?

Answer»

need help abt NET USE COMMAND..........pls....C:\>net use /?
The syntax of this command is:


NET USE
[devicename | *] [\\computername\sharename[\VOLUME] [password | *]]
[/USER:[domainname\]username]
[/USER:[dotted domain name\]username]
[/USER:[[emailprotected] domain name]
[/SMARTCARD]
[/SAVECRED]
[[/DELETE] | [/PERSISTENT:{YES | NO}]]

NET USE {devicename | *} [password | *] /HOME

NET USE [/PERSISTENT:{YES | NO}]hi..thanks
can u give me an e.g
how net use command work pls..

actually i wnt to upload data from another location bt in sme network


get the ip addressA simple example would be

c:\>NET USE X: \\$REMOTE_SERVER_NAME\$SHARE

Where X is a random unused drive letter between A & Z, REMOTE_SERVER_NAME is the name of the remote computer you want to mount from and SHARE is the name of the file directory or DEVICE you want to mount. Now if you select X; from a command prompt you will be taken directly to the folder \\$REMOTE_SERVER_NAME\$SHARE

incorporate that into a script that will easily allow you to transfer files from your machine to a remote machine and back again.

D.



Discussion

No Comment Found