xcopy - Use Xcopy to move files and change file extension
问题描述
I am looking to move files and change their file ext. Can I move .xlsx files from one location and then change the extension to text. Here is what I have done. It moves just fine. How do I incorperate changing the extension.
xcopy /# "\\XXX\R$\wtr\Departments\Operations\Metrics\Metrics-Production\BI
Data Dump\*.xlsx" "X:\Data Files\Yield Summary Data"
Thanks in Advance,
解决方案
You could just do this:
xcopy /Y "\\Tom\R$\wtr\Departments\Operations\Metrics\Metrics-Production\BI Data Dump\*.xlsx" "G:\Data Files\Yield Summary Data\*.txt"
\*.txt at the end of your destination.
推荐阅读
- typescript - 使用自己的属性推断类型
- node.js - 如何解决我使用 npm install 得到的“gyp ERR”?
- javascript - NodeJS SSH2 / SFTP 握手超时
- javascript - Jasmine,模拟`new Audio()` 类
- javascript - 从嵌套数组中分配随机项的函数
- sql-server - Oracle 中是否有与 T-SQL 中的 OBJECT_ID 函数等效的函数?
- node.js - 带有 https 服务器域的 Flutter Socket.io 客户端
- r - 有没有办法通过应用来自两个数据帧的条件来找出由值计数组成的 2 X 2 列联表
- html - 如何将存储在本地存储中的数据放入数组中以在 html 购物车中打印?
- python - 使用网格的图像变形