`````````带有特殊符号的文本如何写入文件```````````[已解决]
本帖最后由 wu5cheng3 于 2011-2-4 15:45 编辑#Include <File.au3>
$wb = " for /f "tokens=1* delims=:" %%i in ('ipconfig /all^|find /i "Physical Address"') do set mac=%%j "
_FileWriteToLine("c:\IP-MAC.bat",1,"$wb")有符号。。写入不了!~ #Include <File.au3>
$wb = " for /f "&'"'&"tokens=1* delims=:"&'"'&" %%i in ('ipconfig /all^|find /i "&'"'&"Physical Address"&'"'&"') do set mac=%%j "
_FileWriteToLine("c:\IP-MAC.bat",1,$wb) 本帖最后由 wu5cheng3 于 2011-1-30 20:21 编辑
回复 2# 风行者
&
这么简单。。。。。我倒!~尽然没想到!~谢谢!~
页:
[1]