
<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Net View Archives - TECHNIG</title>
	<atom:link href="https://www.technig.com/tag/net-view/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.technig.com/tag/net-view/</link>
	<description>Gateway for IT Experts and Tech Geeks</description>
	<lastBuildDate>Sun, 05 Jul 2020 00:53:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.6.2</generator>

<image>
	<url>https://www.technig.com/wp-content/uploads/2020/04/32x32.png</url>
	<title>Net View Archives - TECHNIG</title>
	<link>https://www.technig.com/tag/net-view/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">162720667</site>	<item>
		<title>How to Share Files Using Command Line in Windows?</title>
		<link>https://www.technig.com/share-files-using-command-line/</link>
					<comments>https://www.technig.com/share-files-using-command-line/#comments</comments>
		
		<dc:creator><![CDATA[Shais]]></dc:creator>
		<pubDate>Mon, 09 Nov 2015 11:49:44 +0000</pubDate>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Net Share]]></category>
		<category><![CDATA[Net Use]]></category>
		<category><![CDATA[Net View]]></category>
		<category><![CDATA[PowerShell]]></category>
		<guid isPermaLink="false">https://www.technig.com/?p=4078</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="431" src="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Share Files Uing Command Line" decoding="async" fetchpriority="high" srcset="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line.jpg 840w, https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line-300x154.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line-768x394.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div>
<p>To share files using command line and manipulating is faster and more professional then GUI. Networking task has much command-line utility which works like a charm. With the following command line guide, you can do more than share files using the command line. Preferably, you need to know the basic of command-line interfaces. In Windows, you can [&#8230;]</p>
<p>The post <a href="https://www.technig.com/share-files-using-command-line/">How to Share Files Using Command Line in Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="840" height="431" src="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line.jpg" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="Share Files Uing Command Line" decoding="async" loading="lazy" srcset="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line.jpg 840w, https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line-300x154.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Share-Files-Uing-Command-Line-768x394.jpg 768w" sizes="(max-width: 840px) 100vw, 840px" /></div><p>To share files using command line and manipulating is faster and more professional then GUI. <a href="https://en.wikipedia.org/wiki/Computer_network" target="_blank" rel="noopener noreferrer">Networking</a> task has much command-line utility which works like a charm. With the following command line guide, you can do more than share files using the command line.</p>
<p>Preferably, you need to know the basic of command-line interfaces. In Windows, you can do it with command prompt or Powershell. Both of them works perfectly for this article. I prefer to use Powershell rather than a command prompt. Some commands are really needed to execute in Powershell.</p>
<h2>How to Share Files Using Command-Line?</h2>
<p>It&#8217;s not just sharing files. You should enable network discovery, enable the firewall, viewing shared files, and connecting to the share a folder or create a <a href="https://www.technig.com/map-network-drive-windows-using-group-policy/" target="_blank" rel="noopener noreferrer">map network drive</a>. So let&#8217;s do it step by step with Windows PowerShell.</p>
<h2>1. Change Computer Name with Command</h2>
<p>When your Windows installation has finished, at the final step ask you to set a name. In the network, if the computer name is not related to computer, it should be changed to find it easy. The Rename-Computer PowerShell command works exactly for changing a computer name.</p>
<p>Firs type &#8220;<strong>hostname</strong>&#8221; command to know the current computer name. Then type &#8220;<strong>Rename-Computer -NewName Win10 -Restart</strong>&#8221; and press enter.</p>
<figure id="attachment_4082" aria-describedby="caption-attachment-4082" style="width: 649px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Change-a-Computer-Name-with-Command-Line.jpg"><img decoding="async" class="wp-image-4082 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Change-a-Computer-Name-with-Command-Line.jpg" alt="Change a Computer Name with Command Line" width="649" height="181" srcset="https://www.technig.com/wp-content/uploads/2015/11/Change-a-Computer-Name-with-Command-Line.jpg 649w, https://www.technig.com/wp-content/uploads/2015/11/Change-a-Computer-Name-with-Command-Line-300x84.jpg 300w" sizes="(max-width: 649px) 100vw, 649px" /></a><figcaption id="caption-attachment-4082" class="wp-caption-text">Change a Computer Name with Command Line</figcaption></figure>
<p>In command, <strong>Win10</strong> is the new name of my computer. The &#8211;<strong>restart</strong> switch will restart the system after rename.</p>
<h2>2. Assign IP Address with Command</h2>
<p>A computer in a network needs to have an IP address like a mobile with a number. Assigning an IP address to a computer, preform with Netsh command. I refer you to &#8220;<a href="https://www.technig.com/configure-windows-ipv4-networking-with-netsh/" target="_blank" rel="noopener noreferrer">Configure Windows IPv4 Networking with Netsh</a>&#8221; article. Assigning IP address is covered clearly.</p>
<h2>3. Creating Folder with Command</h2>
<p>Creating a folder is not just performed with right-click and select <strong>New</strong> then <strong>Folder</strong>. Command-line has few commands to create a folder or directory. So let&#8217;s do it with mkdir or md command.</p>
<p>While Powershell is opened, type &#8220;<strong>dir</strong>&#8221; to list all directories of the current path. Then type</p>
<figure id="attachment_4084" aria-describedby="caption-attachment-4084" style="width: 780px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Create-a-Folder-with-Command-Line.jpg"><img decoding="async" class="wp-image-4084 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Create-a-Folder-with-Command-Line.jpg" alt="Create a Folder with Command Line" width="780" height="475" srcset="https://www.technig.com/wp-content/uploads/2015/11/Create-a-Folder-with-Command-Line.jpg 780w, https://www.technig.com/wp-content/uploads/2015/11/Create-a-Folder-with-Command-Line-300x183.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Create-a-Folder-with-Command-Line-768x468.jpg 768w" sizes="(max-width: 780px) 100vw, 780px" /></a><figcaption id="caption-attachment-4084" class="wp-caption-text">Create a Folder with Command Line</figcaption></figure>
<p>A folder named &#8220;<strong>ShareFolder</strong>&#8221; has been created. Type &#8220;<strong>dir</strong>&#8221; or &#8220;<strong>list</strong>&#8221; to see the created folder.</p>
<figure id="attachment_4085" aria-describedby="caption-attachment-4085" style="width: 800px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/List-Directory-with-Command-Line.jpg"><img loading="lazy" decoding="async" class="wp-image-4085 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/List-Directory-with-Command-Line.jpg" alt="List Directory with Command Line" width="800" height="278" srcset="https://www.technig.com/wp-content/uploads/2015/11/List-Directory-with-Command-Line.jpg 800w, https://www.technig.com/wp-content/uploads/2015/11/List-Directory-with-Command-Line-300x104.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/List-Directory-with-Command-Line-768x267.jpg 768w" sizes="(max-width: 800px) 100vw, 800px" /></a><figcaption id="caption-attachment-4085" class="wp-caption-text">List Directory with Command Line</figcaption></figure>
<p>The &#8220;<strong>Ls&#8221;</strong> command is not working on command prompt, instead, use <strong>dir</strong>.</p>
<h2>4. Share a Folder with Command</h2>
<p>Now the folder is created successfully and need to share for the network. Before sharing a new folder, once type &#8220;<strong>net share</strong>&#8221; command to see what is shared currently on your system. Type net share and press enter.</p>
<figure id="attachment_4086" aria-describedby="caption-attachment-4086" style="width: 714px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/What-is-Shared-on-My-Computer.jpg"><img loading="lazy" decoding="async" class="wp-image-4086 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/What-is-Shared-on-My-Computer.jpg" alt="What is Shared on My Computer" width="714" height="223" srcset="https://www.technig.com/wp-content/uploads/2015/11/What-is-Shared-on-My-Computer.jpg 714w, https://www.technig.com/wp-content/uploads/2015/11/What-is-Shared-on-My-Computer-300x94.jpg 300w" sizes="(max-width: 714px) 100vw, 714px" /></a><figcaption id="caption-attachment-4086" class="wp-caption-text">What is Shared on My Computer</figcaption></figure>
<p>There is nothing shared currently on this computer. So to share a folder, type &#8220;<strong>net share NetworkFiles=C:\SharedFolder /grant:everyone, full</strong>&#8221; then press enter.</p>
<figure id="attachment_4087" aria-describedby="caption-attachment-4087" style="width: 768px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Share-Files-with-Command-using-PowerShell.jpg"><img loading="lazy" decoding="async" class="wp-image-4087 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-with-Command-using-PowerShell.jpg" alt="Share Files Using Command using PowerShell" width="768" height="85" srcset="https://www.technig.com/wp-content/uploads/2015/11/Share-Files-with-Command-using-PowerShell.jpg 768w, https://www.technig.com/wp-content/uploads/2015/11/Share-Files-with-Command-using-PowerShell-300x33.jpg 300w" sizes="(max-width: 768px) 100vw, 768px" /></a><figcaption id="caption-attachment-4087" class="wp-caption-text">Share Files Using Command Line with PowerShell</figcaption></figure>
<ul style="list-style-type: circle;">
<li>The <strong>NetworkFiles</strong> is the share name of <strong>SharedFolder</strong> which previously created with command.</li>
<li>The <strong>/grant:everyone,full</strong> assign shared permission to everyone&#8217;s group. You can assign <strong>/change</strong> or <strong>/read</strong> permission.</li>
</ul>
<p><strong>Note:</strong> When you assign permission, you must specify the group name or a user name.</p>
<p>Type &#8220;<strong>net share&#8221;</strong> to see the result.</p>
<figure id="attachment_4089" aria-describedby="caption-attachment-4089" style="width: 779px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Shared-Folders-on-My-Computer1.jpg"><img loading="lazy" decoding="async" class="wp-image-4089 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Shared-Folders-on-My-Computer1.jpg" alt="Shared Folders on My Computer" width="779" height="233" srcset="https://www.technig.com/wp-content/uploads/2015/11/Shared-Folders-on-My-Computer1.jpg 779w, https://www.technig.com/wp-content/uploads/2015/11/Shared-Folders-on-My-Computer1-300x90.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Shared-Folders-on-My-Computer1-768x230.jpg 768w" sizes="(max-width: 779px) 100vw, 779px" /></a><figcaption id="caption-attachment-4089" class="wp-caption-text">Shared Folders on My Computer</figcaption></figure>
<p>Well done, the folder has been created and shared successfully. Now go to the next step, enabling network discovery services with command.</p>
<h2>5. Enable Network Discovery with Command</h2>
<p>Network discovery is a network setting that affects whether your computer can find other computers and devices on the network and whether other computers on the network can see your computer. By default, Windows Firewall blocks network discovery, but you can enable it with command.</p>
<p>To enable network discovery, type &#8220;<strong>netsh advfirewall firewall set rule group=&#8221;Network Discovery&#8221; new enable=Yes</strong>&#8221;</p>
<figure id="attachment_4094" aria-describedby="caption-attachment-4094" style="width: 943px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Enable-Network-Discovery-with-Command-Line.jpg"><img loading="lazy" decoding="async" class="wp-image-4094 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Enable-Network-Discovery-with-Command-Line.jpg" alt="Enable Network Discovery with Command Line" width="943" height="137" srcset="https://www.technig.com/wp-content/uploads/2015/11/Enable-Network-Discovery-with-Command-Line.jpg 943w, https://www.technig.com/wp-content/uploads/2015/11/Enable-Network-Discovery-with-Command-Line-300x44.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Enable-Network-Discovery-with-Command-Line-768x112.jpg 768w" sizes="(max-width: 943px) 100vw, 943px" /></a><figcaption id="caption-attachment-4094" class="wp-caption-text">Enable Network Discovery with Command Line</figcaption></figure>
<p>The Firewall rules are updated. Now the network discovery is enabled and you should see the computer&#8217;s name when executing &#8220;<strong>net view</strong>&#8221; command.</p>
<figure id="attachment_4095" aria-describedby="caption-attachment-4095" style="width: 577px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/View-Network-Computers-with-Command-Line.jpg"><img loading="lazy" decoding="async" class="wp-image-4095 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/View-Network-Computers-with-Command-Line.jpg" alt="View Network Computers with Command Line" width="577" height="179" srcset="https://www.technig.com/wp-content/uploads/2015/11/View-Network-Computers-with-Command-Line.jpg 577w, https://www.technig.com/wp-content/uploads/2015/11/View-Network-Computers-with-Command-Line-300x93.jpg 300w" sizes="(max-width: 577px) 100vw, 577px" /></a><figcaption id="caption-attachment-4095" class="wp-caption-text">View Network Computers with Command Line</figcaption></figure>
<p>The net view is another useful command-line utility which shows network computers.</p>
<h2>6. Connect to Shared Folders with Command</h2>
<p>Now I&#8217;m on another Windows which is Windows 8.1. I&#8217;m trying to connect to shared folder&#8217;s of Windows 10 through the network with the command line.</p>
<p>While you are on the other computer on the network, type &#8220;<strong>net share</strong>&#8221; to  see network computers</p>
<figure id="attachment_4102" aria-describedby="caption-attachment-4102" style="width: 608px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Net-View-Command.jpg"><img loading="lazy" decoding="async" class="wp-image-4102 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Net-View-Command.jpg" alt="Net View Command" width="608" height="388" srcset="https://www.technig.com/wp-content/uploads/2015/11/Net-View-Command.jpg 608w, https://www.technig.com/wp-content/uploads/2015/11/Net-View-Command-300x191.jpg 300w" sizes="(max-width: 608px) 100vw, 608px" /></a><figcaption id="caption-attachment-4102" class="wp-caption-text">Net View Command &#8211; Share Files using Command</figcaption></figure>
<p>Both Windows 10 and Windows 8 are in the same network. Type &#8220;<strong>net view \\Win10</strong>&#8221; to see the shared folders of Windows 10.</p>
<p>So let&#8217;s connect to shared folders of Windows 10 form Windows 8. Type &#8220;<strong>net use Y: \\Win10\NetworkFiles</strong>&#8221; then press enter to create a network map drive for <strong>NetworkFiles</strong> folder.</p>
<figure id="attachment_4103" aria-describedby="caption-attachment-4103" style="width: 607px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Connect-to-a-Shared-Folder-with-Command-Line.jpg"><img loading="lazy" decoding="async" class="wp-image-4103 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Connect-to-a-Shared-Folder-with-Command-Line.jpg" alt="Connect to a Shared Folder with Command Line" width="607" height="66" srcset="https://www.technig.com/wp-content/uploads/2015/11/Connect-to-a-Shared-Folder-with-Command-Line.jpg 607w, https://www.technig.com/wp-content/uploads/2015/11/Connect-to-a-Shared-Folder-with-Command-Line-300x33.jpg 300w" sizes="(max-width: 607px) 100vw, 607px" /></a><figcaption id="caption-attachment-4103" class="wp-caption-text">Connect to a Shared Folder with Command Line</figcaption></figure>
<p>Here is the result of executing &#8220;<strong>net use</strong>&#8221; command. It shows network map drives. Read more about net use command on <a href="https://www.technig.com/map-network-drive-windows-using-group-policy/" target="_blank" rel="noopener noreferrer">How to Create Map Network Drive In Windows 10 and Server</a>? article.</p>
<figure id="attachment_4104" aria-describedby="caption-attachment-4104" style="width: 848px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Network-Map-Drives.jpg"><img loading="lazy" decoding="async" class="wp-image-4104 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Network-Map-Drives.jpg" alt="Network Map Drives" width="848" height="228" srcset="https://www.technig.com/wp-content/uploads/2015/11/Network-Map-Drives.jpg 848w, https://www.technig.com/wp-content/uploads/2015/11/Network-Map-Drives-300x81.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Network-Map-Drives-768x206.jpg 768w" sizes="(max-width: 848px) 100vw, 848px" /></a><figcaption id="caption-attachment-4104" class="wp-caption-text">Network Map Drives &#8211; Share Files using Command</figcaption></figure>
<p>Navigate to drive <strong>Y:</strong> and see what files the Windows 10 folder has?</p>
<figure id="attachment_4105" aria-describedby="caption-attachment-4105" style="width: 836px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/See-the-Shared-Folders-Contents.jpg"><img loading="lazy" decoding="async" class="wp-image-4105 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/See-the-Shared-Folders-Contents.jpg" alt="See the Shared Folder's Contents" width="836" height="276" srcset="https://www.technig.com/wp-content/uploads/2015/11/See-the-Shared-Folders-Contents.jpg 836w, https://www.technig.com/wp-content/uploads/2015/11/See-the-Shared-Folders-Contents-300x99.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/See-the-Shared-Folders-Contents-768x254.jpg 768w" sizes="(max-width: 836px) 100vw, 836px" /></a><figcaption id="caption-attachment-4105" class="wp-caption-text">See the Shared Folder&#8217;s Contents &#8211; Share Files using Command</figcaption></figure>
<p>Let&#8217;s copy some files from the shared folder to our computer with command. It performs by<br />
<strong>&#8220;copy&#8221;</strong> command. Type &#8220;<strong>copy &#8216;Windows 10 Reports.txt C:\Users\Shais\Desktop</strong>&#8221; then press enter.</p>
<figure id="attachment_4107" aria-describedby="caption-attachment-4107" style="width: 831px" class="wp-caption aligncenter"><a href="https://www.technig.com/share-files-using-command-line//wp-content/uploads/2015/11/Copy-the-Shared-Files-to-other-computer-with-Command-Line.jpg"><img loading="lazy" decoding="async" class="wp-image-4107 size-full" src="https://www.technig.com/wp-content/uploads/2015/11/Copy-the-Shared-Files-to-other-computer-with-Command-Line.jpg" alt="Copy the Shared Files to other computer with Command Line" width="831" height="145" srcset="https://www.technig.com/wp-content/uploads/2015/11/Copy-the-Shared-Files-to-other-computer-with-Command-Line.jpg 831w, https://www.technig.com/wp-content/uploads/2015/11/Copy-the-Shared-Files-to-other-computer-with-Command-Line-300x52.jpg 300w, https://www.technig.com/wp-content/uploads/2015/11/Copy-the-Shared-Files-to-other-computer-with-Command-Line-768x134.jpg 768w" sizes="(max-width: 831px) 100vw, 831px" /></a><figcaption id="caption-attachment-4107" class="wp-caption-text">Copy the Shared Files to another computer with Command Line</figcaption></figure>
<p>See the <strong>Windows 10 Reports</strong> text file has been copied to my desktop on Windows 8. You can copy files with the copy command. But to copy a full directory with its contents, use &#8220;<strong>xcopy</strong>&#8221; command.</p>
<p>That&#8217;s all share files using the command line. Hope you find this article helpful and replay to this question. Command-line is simple or hard?</p>
<p>Comment us your answer about share files using command and etc. It will help users to create more beneficial and helpful articles.</p>
<p>The post <a href="https://www.technig.com/share-files-using-command-line/">How to Share Files Using Command Line in Windows?</a> appeared first on <a href="https://www.technig.com">TECHNIG</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.technig.com/share-files-using-command-line/feed/</wfw:commentRss>
			<slash:comments>10</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">4078</post-id>	</item>
	</channel>
</rss>
