怎么表示引号的问题
本帖最后由 ycw565 于 2011-1-24 10:37 编辑已知
$app= “App.exe "
$var = “/12”
求怎么得到字符串
AppLoc.exe "/12"
前面没有引号,后面有引号的 $app= 'App.exe '
$var = '“/12”'
MsgBox(0, '', $app & $var) 谢谢
我刚用chr(34)也变相解决了 $app = @WindowsDir & "\AppPatch\AppLoc.exe "
$var = RegRead("HKEY_CURRENT_USER\Software\BitComet", "") & "\BitComet.exe"
$cmd = $app & chr(34) & $var & chr(34) & " " & chr(34) & "/L0409" & chr(34)
msgbox(4096,"",$cmd)
$ren = run( $cmd )
老大在看看,我按你的不会改了 也可以这样
'"' & $var & '"'
双引转义
" """" " = ""
" "" "= "
页:
[1]