English 中文(简体)
批次文件:无法用 WordPad 打开特定文件并保存
原标题:Batch File : could not open specific file with WordPad and save it
  • 时间:2012-05-22 02:45:54
  •  标签:
  • batch-file

最初我用批量文件捕捉了一个文件, 它用 Notepad 打开。 我如何编码批量文件, 以便用 WordPad 保存 。

批量文件 :

Remarks:This document is for Linksys for version v4.30.5, the auto sensing part.
"C:Program Files (x86)Wireless Guardwget" "http://192.168.1.254/xslt@PAGE=C_2_0"
copy "xslt@PAGE=C_2_0" "xslt@PAGE=C_2_0.txt"
del "xslt@PAGE=C_2_0"
问题回答

您真的不需要做任何事情来用 WordPad 保存它。 正如先前评论的那样, 批次文件输出为纯文本, 这样您就可以用 WordPad 打开它 。

你可以分批完成这批工作 使用:

wwrite txtfile.txt ( )

或者永久关联的 WordPad 设置为您在控制面板中的默认 txt 程序 。

希望这能帮上忙





相关问题
complex batch replacement linux

I m trying to do some batch replacement for/with a fairly complex pattern So far I find the pattern as: find ( -name *.php -o -name *.html ) -exec grep -i -n hello {} + The string I want ...

How to split a string by spaces in a Windows batch file?

Suppose I have a string "AAA BBB CCC DDD EEE FFF". How can I split the string and retrieve the nth substring, in a batch file? The equivalent in C# would be "AAA BBB CCC DDD EEE FFF".Split()[n]

How to check which Operating System?

How can I check OS version in a batch file or through a vbs in an Windows 2k/2k3 environment ? You know ... Something like ... : "If winver Win2k then ... or if winver Win2k3 then ....