<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic redirect input from file in vbs in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/redirect-input-from-file-in-vbs/m-p/4161897#M8706</link>
    <description>hello all,&lt;BR /&gt;&lt;BR /&gt;i have vbs script for searching new files and i use batch to redirect output to a report.txt file&lt;BR /&gt;output is one file. -example "today.log"&lt;BR /&gt;&lt;BR /&gt;i want to copy that file to different location.&lt;BR /&gt;how is this possible?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks</description>
    <pubDate>Fri, 14 Mar 2008 17:21:00 GMT</pubDate>
    <dc:creator>kabucek</dc:creator>
    <dc:date>2008-03-14T17:21:00Z</dc:date>
    <item>
      <title>redirect input from file in vbs</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/redirect-input-from-file-in-vbs/m-p/4161897#M8706</link>
      <description>hello all,&lt;BR /&gt;&lt;BR /&gt;i have vbs script for searching new files and i use batch to redirect output to a report.txt file&lt;BR /&gt;output is one file. -example "today.log"&lt;BR /&gt;&lt;BR /&gt;i want to copy that file to different location.&lt;BR /&gt;how is this possible?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Fri, 14 Mar 2008 17:21:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/redirect-input-from-file-in-vbs/m-p/4161897#M8706</guid>
      <dc:creator>kabucek</dc:creator>
      <dc:date>2008-03-14T17:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: redirect input from file in vbs</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/redirect-input-from-file-in-vbs/m-p/4161898#M8707</link>
      <description>Const ForReading = 1&lt;BR /&gt;Const ForWriting = 2&lt;BR /&gt;i = 1&lt;BR /&gt;&lt;BR /&gt;Set objFSO = CreateObject("Scripting.FileSystemObject")&lt;BR /&gt;Set objFile = objFSO.OpenTextFile("C:\today.log", ForReading)&lt;BR /&gt;&lt;BR /&gt;Do Until objFile.AtEndOfStream&lt;BR /&gt;    strLine = objFile.ReadLine&lt;BR /&gt;    objFSO.CopyFile strLine , "C:\copied_files\", OverwriteExisting&lt;BR /&gt;Loop&lt;BR /&gt;&lt;BR /&gt;This will copy ur all files listed in the log to c:\copied_files folder if i understand ur problem correct?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Ajay&lt;BR /&gt;(assign points if it solves ur question :-))</description>
      <pubDate>Thu, 20 Mar 2008 07:55:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/redirect-input-from-file-in-vbs/m-p/4161898#M8707</guid>
      <dc:creator>Change_happens</dc:creator>
      <dc:date>2008-03-20T07:55:35Z</dc:date>
    </item>
  </channel>
</rss>

