batch-processing - 将txt文件与批处理合并
问题描述
@echo off
title Merge Text Files
color 9f
echo Welcome to the program!
set /p loc=Please enter the location of folder where all txt files are located:
cd %loc%
set /p name=Type the name of new merged file (without adding ".txt"):
echo Press enter button to continue!
pause>nul
copy /b *.txt %name%.txt
echo Done!
pause>nul
echo Press any key to exit!
pause>nul
exit
我收到错误,语法不正确
你能告诉我我的错误在哪里吗
解决方案
推荐阅读
- swift4 - 如何将图标添加到我的 UItextfield?
- android - 生成签名的 apk 后,android 应用程序不显示类别图像。为什么?
- php - 使用jquery验证的remote方法出现303错误
- html - 从右下角到左上角填充 SVG
- xml - 如何检查属性值是否为 A,然后属性 B 是强制性的,否则 xsd 1.1 中接下来会出现其他属性?
- php - magento 如何使用数据库查询获取与单个产品关联的属性
- javascript - 如何在角度 v6 中替换锚链接
- c++ - 如何在 noexcept 运算符中引用移动构造函数
- ruby-on-rails - 日期之间的Rails mongo查询
- javascript - 输入类型日期不是动态添加到表中,Javascript