Server Core: Sharing folders/files
Hi I have a question. Since I am only using command-line user interface, I know this question seems to direct toward multiple WinNT-based operating systems such as Windows XP, 2000, 2003, and Vista, including Windows Server 2008. I have files in my D:\ drive that I wanted it accessed in more than one computer, so what is the equavelant to going into My Computer, right-clicking in the drive or folder that I want, click Share, and then type in a name to be shared?
September 26th, 2007 12:12am

Hi Grayson, you can use Nfsshare command-line nfsshare <ShareName>=<Drive: Path> http://technet2.microsoft.com/windowsserver2008/en/library/47a23a74-e13c-46de-8d30-ad0afb1eaffc1033.mspx?mfr=true
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2007 5:36am

Ah! Now that is the command I'm looking for! Thanks! I'm enjoying getting into habit of using a command-line user interface!
September 26th, 2007 6:50am

Okay. I do have a problem. I am using Windows XP Home (computer name: GRAYSONWINXP)for accessing the server (computer name: HANETSC). I've tried entering a command like... nfsshare BStorage=D: and even though it's successful, I tried to look in my list of shared folders in HANETSC and nothing is there. I've enabled file sharing in Windows XP. In GRAYSONWINXP, I have one shared folder, which is "downloads," so in HANETSC (Server Core), I tried entering \\GRAYSONWINXP\downloads\ but the command-line interface said the network path is not found. I tried SharedDocs but same problem.
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2007 2:13pm

try to check firewall configuration in both computers, or at least to try ping each computer from the other one to ensure that there is aconnection between both of them.
September 26th, 2007 2:57pm

OK. I did some research and I found that a correct command for sharing files and folders is this: net share sharename=drive: path (space is in place because of emoticons) And it worked, while nfsshare doesn't for me.
Free Windows Admin Tool Kit Click here and download it now
September 26th, 2007 10:47pm

Just in case anyone comes across this thread again, I found it best to setup a Share on a Windows Server 2008 R2 Core Server install by using the MMC and Shared Folders snapin. From your workstation go to your start button then type MMC in the "Run" or "search programs and files" field and hit Enter. Once the Console opens, go to File > add/remove Snap-in... Choose the "Shared Folders" snapin, and add it. Select "another computer" and browse to the Windows 2008 R2 Core server you want to create the share on. (leave the "View" set for "All"). Click Finish. Click OK If you select "Shares" listed in the Console Tree, you can see a list of shares on the connected server. If you right click on the "Shares" tree you can create a "New Share" and assign permissions. Easy peasy... Hope this helps!
March 23rd, 2012 3:50pm

Just in case anyone comes across this thread again, I found it best to setup a Share on a Windows Server 2008 R2 Core Server install by using the MMC and Shared Folders snapin. From your workstation go to your start button then type MMC in the "Run" or "search programs and files" field and hit Enter. Once the Console opens, go to File > add/remove Snap-in... Choose the "Shared Folders" snapin, and add it. Select "another computer" and browse to the Windows 2008 R2 Core server you want to create the share on. (leave the "View" set for "All"). Click Finish. Click OK If you select "Shares" listed in the Console Tree, you can see a list of shares on the connected server. If you right click on the "Shares" tree you can create a "New Share" and assign permissions. Easy peasy... Hope this helps! Excellent answer :)Peace
Free Windows Admin Tool Kit Click here and download it now
August 29th, 2012 4:53am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics