<?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>raMEsh shRESTha &#187; read csv file</title>
	<atom:link href="http://ramesh-shrestha.com.np/?feed=rss2&#038;tag=read-csv-file" rel="self" type="application/rss+xml" />
	<link>http://ramesh-shrestha.com.np</link>
	<description>pasa ForEver</description>
	<lastBuildDate>Fri, 05 Apr 2013 11:00:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.41</generator>
	<item>
		<title>Moves files found in CSV using batch file</title>
		<link>http://ramesh-shrestha.com.np/?p=94</link>
		<comments>http://ramesh-shrestha.com.np/?p=94#comments</comments>
		<pubDate>Fri, 05 Apr 2013 10:46:27 +0000</pubDate>
		<dc:creator><![CDATA[rameshpasa]]></dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[command prompt]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[read csv file]]></category>

		<guid isPermaLink="false">http://ramesh-shrestha.com.np/?p=94</guid>
		<description><![CDATA[If you have a CSV file (say, &#8216;filename.csv&#8217;) which has the list of the files location in any column(say, 2) and want to move those files in to folder (say, &#8216;DestinationFolder&#8217;) then you can achieve it by creating a batch file (say, &#8216;MoveFile.bat&#8217;) to do it. Using any text editor type following DOS commands: rem [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>If you have a CSV file (say, &#8216;filename.csv&#8217;) which has the list of the files location in any column(say, 2) and want to move those files in to folder (say, &#8216;DestinationFolder&#8217;) then you can achieve it by creating a batch file (say, &#8216;MoveFile.bat&#8217;) to do it.</p>
<p>Using any text editor type following DOS commands:<em><strong></strong></em></p>
<blockquote><p><em><strong>rem </strong></em>Moves files into Destination Folder<br />
<em><strong>for </strong></em>/f &#8220;tokens=2 delims=,&#8221; %%a in (D:\filename.csv) do (<br />
<em><strong>move </strong></em>%%~a  D:\DestinationFolder<br />
)</p></blockquote>
<p>When you run the batch file</p>
<blockquote><p>D:\&gt;MoveFile.bat</p></blockquote>
<p>Then it will iterate through the file location found in CSV file and move the file(s) to destination folder.</p>
<p>If you want to <strong>copy </strong>the file then use <strong>copy </strong>command.</p>
]]></content:encoded>
			<wfw:commentRss>http://ramesh-shrestha.com.np/?feed=rss2&#038;p=94</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
