文件名称:Rename
- 所属分类:
- 文件操作
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2015-12-03
- 文件大小:
- 846kb
- 下载次数:
- 0次
- 提 供 者:
- W**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
该程序能够对指定目录下的文件进行批量重命名,并可进行恢复操作:
该示例在picture文件下,重命名规则为123.txt,文档内每行的前面为原文件名后面为要转换的文件名。当转换完成后会生成备份文档bak.txt,用来进行恢复操作。
由于程序中的路径采用的是绝对路径,测试时可根据实际情况进行修改。
程序中main.cpp为主程序,完成文件的查找匹配,并完成重命名;
StringDeal.cpp主要对完成对字符串的处理。-The program can specify a directory of files for batch renaming, and recovery operations:
The example in the picture file, rename rule 123.txt, in front of each line within the document to the original file name for the file name to be converted. When the conversion is completed will generate backup documentation bak.txt, to carry out recovery operations.
Because the program is used in the path absolute path, when the test can be modified according to the actual situation.
Main.cpp program the main program, complete find the matching files and complete the renaming
StringDeal.cpp mainly to complete the string processing.
该示例在picture文件下,重命名规则为123.txt,文档内每行的前面为原文件名后面为要转换的文件名。当转换完成后会生成备份文档bak.txt,用来进行恢复操作。
由于程序中的路径采用的是绝对路径,测试时可根据实际情况进行修改。
程序中main.cpp为主程序,完成文件的查找匹配,并完成重命名;
StringDeal.cpp主要对完成对字符串的处理。-The program can specify a directory of files for batch renaming, and recovery operations:
The example in the picture file, rename rule 123.txt, in front of each line within the document to the original file name for the file name to be converted. When the conversion is completed will generate backup documentation bak.txt, to carry out recovery operations.
Because the program is used in the path absolute path, when the test can be modified according to the actual situation.
Main.cpp program the main program, complete find the matching files and complete the renaming
StringDeal.cpp mainly to complete the string processing.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Debug\Rename.exe
.....\Rename.ilk
.....\Rename.pdb
ipch\rename-cc95cfed\rename-3a9b0464.ipch
picture\1.jpg
.......\123.txt
.......\2.jpg
.......\3.jpg
.......\4.jpg
Rename\Debug\CL.read.1.tlog
......\.....\CL.write.1.tlog
......\.....\link.read.1.tlog
......\.....\link.write.1.tlog
......\.....\main.obj
......\.....\mt.read.1.tlog
......\.....\mt.write.1.tlog
......\.....\Rename.exe.intermediate.manifest
......\.....\Rename.lastbuildstate
......\.....\Rename.log
......\.....\StringDeal.obj
......\.....\vc100.idb
......\.....\vc100.pdb
......\main.cpp
......\Rename.vcxproj
......\Rename.vcxproj.filters
......\Rename.vcxproj.user
......\StringDeal.cpp
......\StringDeal.h
Rename.sdf
Rename.sln
ipch\rename-cc95cfed
Rename\Debug
Debug
ipch
picture
Rename