1
clino 2012-09-05 13:59:53 +08:00
'"C:\Program Files\Microsoft Office\Office14\OU
TLOOK.EXE" /c ipm.note /m "[email protected]&subject=test%20subject&body=tes t%20body"' |
2
durden OP @clino 还是不行呢,提示the filename, directory name, or volume label syntax is incorrect,我检查了一切正常呀
import os #cmd = r'C:\Program Files\Microsoft Office\Office12\outlook.exe /c ipm.note /m [email protected]&subject=test%20subject&body=test%20body' cmd = 'r"C:\Program Files\Microsoft Office\Office12\outlook.exe" /c ipm.note /m "[email protected]&subject=test%20subject&body=test%20body"' os.system(cmd) |
3
clino 2012-09-05 15:29:38 +08:00
汗死... 'r"XXX"'
你这个 r 是给谁看的阿 |
4
durden OP @clino 不加r直接报错呀“'c:\program' is not recognized as an internal or external command”
|
5
clino 2012-09-05 15:53:36 +08:00
话说我浪费这么多条回复干啥呢
r'"XXX"' |