VBS 二重引用符で囲まれた文字列
特にエスケープ等しなくても、括弧を利用するように展開される(バッチでもおなじ)
Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cmd /c ""type ""c:\te sta.txt"" > ""c:\te stb.txt"""""
考え方
WshShell.Run (cmd /c (type (c:\te sta.txt) > (c:\te stb.txt)))
YAGI Hiroto (piroto@a-net.email.ne.jp)
twitter http://twitter.com/pppiroto
Copyright© 矢木 浩人 All Rights Reserved.