如何在delphi中调用dos的EXE文件或命令如type aa.txt>prn
winexec('c:/command.com /c type c:/aa.txt>prn',sw_normal)
调用photoshop等
ShellExecute(0,'open',StrPCopy(St,'http://'+Label3.Caption+'/products/teechart/delphi6'),nil,nil,SW_SHOW);
winexec('d:/photoshop7/photoshop.exe');
和
ShellExecute(handle,'open',StrPCopy(St,'http://'+Label3.Caption+ 'd:/photoshop7/photoshop.exe''),nil,nil,SW_SHOW);
都行