Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How Do You Install File & Printer Sharing From Command Line?

0
Posted

How Do You Install File & Printer Sharing From Command Line?

0

Although most users are only familiar with the graphical Windows interface, there is a way to control your computer through the command line. This is useful, for instance, if you want to write login or batch scripts to automate processes. Installing file and printer sharing from the command line is a quick and simple way to let computers on networks share resources. Log into the machine where the files you want to share are located. Locate the directory that you want to share across the network. In this example, we’ll use the directory “c:\Documents.” Open up a command prompt. Go to “Start–>Run.” In the “Run” box, type “cmd.exe” (no quotes). In Vista, go to “Start” and enter “cmd.exe” into the “Start Search” box. Pick a name for your shared directory. In this example, we’ll call it “SharedDocuments.” Type in “net share SharedDocuments=c:\Documents” at the command prompt. Test the share by opening up the “Network” window and browsing the local network. You should be able to see the sha

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123