How to Share Folder on Remote PC using Command Prompt in Windows Vista?
Note: You must do these things before proceeding:
You must be able to access the remote PC i.e. must possess the Administrative rights
The folder that you want to share must be created beforehand on the remote PC
This is a basic share technique. You cannot set permissions on the folder using this setting.
To accomplish this follow these steps:
1) Open Command Prompt and type wmic and press Enter key.
Figure 1
2) Now you will be switched to the directory as shown in the above figure
3) Type the following and press Enter key
/node:<computer_name> /user:<domain>\<user_name> /password:<password> share call create , <comments>, <maximum_ number_of_connections>, <share name>, <path_to_folder>, 0
Here the various terms are:
<computer_name> Name of the computer that will share the folder
<domain> The network domain in which the computer falls
<user_name> User name possessing the Administrative rights on the PC
<password> - Password for the above user name
<comments> - Comments if any about the share
<maximum_ number_of_connections> - maximum number of other users that can benefit from this
<share name> - Name of this share (any name)
<path_to_folder> - Local path of the folder to be shared
4) Type Y to confirm and press Enter key
5) The folder will now be shared.


LinkBack URL
About LinkBacks
Reply With Quote

LinkBacks Enabled by vBSEO
Bookmarks