Board logo

标题: [文本处理] [已解决]批处理怎样添加文字到结尾没空格的txt文件? [打印本页]

作者: shuaige100    时间: 2011-5-4 12:11     标题: [已解决]批处理怎样添加文字到结尾没空格的txt文件?

呵呵原来是添加一个空行
如果原txt内容是pause结尾没空格,那我如何echo才不会出现以下问题?
  1. pauseren "%1" 1.APK
复制代码

作者: Batcher    时间: 2011-5-4 12:47

  1. @echo off
  2. echo,>>a.txt
  3. echo bbs.bathome.net>>a.txt
复制代码





欢迎光临 批处理之家 (http://bathome.net./) Powered by Discuz! 7.2