<?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 Re: I'm looking for a batch file to rename files on NT 4.0 server in Operating System - Microsoft</title>
    <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582969#M6332</link>
    <description>Chris,&lt;BR /&gt;do you need diagnostic information?&lt;BR /&gt;Youc move file with a command file like this:&lt;BR /&gt;Rem Example&lt;BR /&gt;Rem Rename all file in current directory&lt;BR /&gt;REN *.CC *.BAK&lt;BR /&gt;Rem Now copy file onto remote server&lt;BR /&gt;COPY *.BAK \\SERVER\DIRECTORY&lt;BR /&gt;Rem Now delete from current directory&lt;BR /&gt;DEL *.BAK&lt;BR /&gt; &lt;BR /&gt;Above command file is merely an example. It does't check error status and doesn't check id copy successfully terminated.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
    <pubDate>Sat, 16 Jul 2005 00:33:55 GMT</pubDate>
    <dc:creator>Antoniov.</dc:creator>
    <dc:date>2005-07-16T00:33:55Z</dc:date>
    <item>
      <title>I'm looking for a batch file to rename files on NT 4.0 server</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582965#M6328</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;I have NT 4.0 SP6a server and I'm looking for a batch file &lt;BR /&gt;to rename files from *.cc to *.bak at the same directory.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;chris</description>
      <pubDate>Thu, 14 Jul 2005 12:11:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582965#M6328</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-07-14T12:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: I'm looking for a batch file to rename files on NT 4.0 server</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582966#M6329</link>
      <description>There are 2 options which I use generally.&lt;BR /&gt;&lt;BR /&gt;First: Download cygwin, now you will be able to run unix commands, then its simple&lt;BR /&gt;&lt;BR /&gt;for filename in "*.cc"; do&lt;BR /&gt;new_name=`sed -e "s/\.cc/\.bak/g"'&lt;BR /&gt;mv filename new_name&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Second: If you really want to stick with .bat files, then downlaod Gnu sed. It works in Windows.&lt;BR /&gt;Then combine the above sed statement with windows for loop.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Jul 2005 23:17:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582966#M6329</guid>
      <dc:creator>Vibhor Kumar Agarwal</dc:creator>
      <dc:date>2005-07-14T23:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: I'm looking for a batch file to rename files on NT 4.0 server</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582967#M6330</link>
      <description>Hi Chris,&lt;BR /&gt;I appear as dummy but I don't understand your question.&lt;BR /&gt;I guess the command&lt;BR /&gt;REN *.CC *.BAK&lt;BR /&gt;is too simple for your scope.&lt;BR /&gt;Also&lt;BR /&gt;FOR %I IN (*.CC) DO REN %%I *.BAK&lt;BR /&gt;may be too simple&lt;BR /&gt; &lt;BR /&gt;Please,&lt;BR /&gt;may you specify some furthermore information?&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Fri, 15 Jul 2005 00:27:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582967#M6330</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-15T00:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: I'm looking for a batch file to rename files on NT 4.0 server</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582968#M6331</link>
      <description>yes I've forgotten &lt;BR /&gt;&lt;BR /&gt;it should rename files and put already renamed files &lt;BR /&gt;to the other server via share \\server\directory&lt;BR /&gt;&lt;BR /&gt;greetings&lt;BR /&gt;chris</description>
      <pubDate>Fri, 15 Jul 2005 18:28:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582968#M6331</guid>
      <dc:creator>'chris'</dc:creator>
      <dc:date>2005-07-15T18:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: I'm looking for a batch file to rename files on NT 4.0 server</title>
      <link>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582969#M6332</link>
      <description>Chris,&lt;BR /&gt;do you need diagnostic information?&lt;BR /&gt;Youc move file with a command file like this:&lt;BR /&gt;Rem Example&lt;BR /&gt;Rem Rename all file in current directory&lt;BR /&gt;REN *.CC *.BAK&lt;BR /&gt;Rem Now copy file onto remote server&lt;BR /&gt;COPY *.BAK \\SERVER\DIRECTORY&lt;BR /&gt;Rem Now delete from current directory&lt;BR /&gt;DEL *.BAK&lt;BR /&gt; &lt;BR /&gt;Above command file is merely an example. It does't check error status and doesn't check id copy successfully terminated.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;</description>
      <pubDate>Sat, 16 Jul 2005 00:33:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-microsoft/i-m-looking-for-a-batch-file-to-rename-files-on-nt-4-0-server/m-p/3582969#M6332</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-07-16T00:33:55Z</dc:date>
    </item>
  </channel>
</rss>

