My Tech notes: Access Samba Using Dos Commands List Here
Subscribe

Unix Documentation

Free Online Unix Training Materials

Lists many links to free Unix training materials.

Pointers and Arrays Materials

Pointers and Arrays materials Explained for C beginners

C FAQ and General Questions C Interview Questions

Powered By

Free XML Skins for Blogger

Powered by Blogger

Wednesday, March 4, 2009

Access Samba Using Dos Commands List Here

I was searching for accessing samba using DOS command, Finally I managed it by own; here is list of useful command.
To mount or to map the SAMBA folder to local machine.
eg; to map public folder from and copy test.txt
use :- net use z: \\computer\folder
Map the Z: drive to the network path //computer/folder.
net use z: \\2.168.4.500\public

enter user-name (if connecting first time)
enter password

To copy the data to this drive

ie to put file
copy test.txt \\2.168.4.500\public

to get the file
copy \\2.168.4.500\public\test.txt

To delete the connection
use
net use z: /del /yes

No comments:

Post a Comment