<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>Titan6 - DOS编程</title>
    <link>https://www.titan6.com.cn/forum/108/1.html</link>
    <description>Latest 20 threads of DOS编程</description>
    <copyright>Copyright(C) Titan6</copyright>
    <generator>Discuz! Board by Comsenz Inc.</generator>
    <lastBuildDate>Fri, 08 May 2026 12:01:26 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://www.titan6.com.cn/static/image/common/logo_88_31.gif</url>
      <title>Titan6</title>
      <link>https://www.titan6.com.cn/</link>
    </image>
    <item>
      <title>文件统一添加后缀 a 和文件夹统一添加后缀 a</title>
      <link>https://www.titan6.com.cn/thread/178/1/1.html</link>
      <description><![CDATA[::文件统一添加后缀 a 
@echo off 
set a=_done
setlocal EnableDelayedExpansion
for %%n in (*.txt) do (
set /A a
ren \&quot;%%n\&quot; \&quot;%%n!a!.txt\&quot;
)

::文件夹统一添加后缀 a
set a=_done
setlocal EnableDelayedExpansion
FOR /f \&quot;tokens=*\&quot; %%i IN (\'dir /a:d /b\') DO (
s]]></description>
      <category>DOS编程</category>
      <author>xiaoya</author>
      <pubDate>Sat, 14 Oct 2023 16:25:22 +0000</pubDate>
    </item>
    <item>
      <title>dos编程-批处理如何替换文件夹名和文件名里的指定字符或字符串</title>
      <link>https://www.titan6.com.cn/thread/177/1/1.html</link>
      <description><![CDATA[@echo off
title 批量替换文件(文件夹)名
echo 此批处理可批量替换本文件所在文件夹下所有文件(文件夹)名。
echo.
set /p str1= 请输入要替换的文件(文件夹)名字符串（可替换空格）：
set /p str2= 请输入替换后的文件(文件夹)名字符串（去除则直接回车）：
echo.
echo  ...]]></description>
      <category>DOS编程</category>
      <author>xiaoya</author>
      <pubDate>Sat, 14 Oct 2023 16:23:02 +0000</pubDate>
    </item>
  </channel>
</rss>