如何从物理路径读取多个pdf文件并重命名并保存它们 [英] How to read multiple pdf files from physical path and rename and save them
本文介绍了如何从物理路径读取多个pdf文件并重命名并保存它们的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
HI,
如何从物理路径读取多个pdf文件,重命名并保存它们。
请建议。
我的尝试:
如何从物理路径读取多个pdf文件,重命名并保存它们。
How to read multiple pdf files from physical path, rename and save them.
Please Suggest.
What I have tried:
How to read multiple pdf files from physical path, rename and save them.
推荐答案
使用Directory.GetFiles( )
和File.Move()
:
Directory.GetFiles Method(String)(System.IO) [ ^ ]
文件移动方法(字符串,字符串)(System.IO) [ ^ ]
UseDirectory.GetFiles()
andFile.Move()
:
Directory.GetFiles Method (String) (System.IO)[^]
File.Move Method (String, String) (System.IO)[^]
这篇关于如何从物理路径读取多个pdf文件并重命名并保存它们的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文