Board logo

标题: [文件操作] 批处理如何判断路径中有中文字符? [打印本页]

作者: Ozr    时间: 2018-5-28 16:20     标题: 批处理如何判断路径中有中文字符?

如何判断路径中有中文字符?
作者: WHY    时间: 2018-5-29 17:54

举例:
  1. PowerShell 'D:\你的路径' -match '[\u4E00-\u9FFF]'
复制代码





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