Sathya M
04/03/2024, 8:27 AM<cfexecute name="C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE"
arguments="#expandPath('./test.docx')#"
timeout="10">
</cfexecute>aliaspooryorik
Sathya M
04/03/2024, 9:19 AMaliaspooryorik
Sathya M
04/03/2024, 9:21 AMSathya M
04/03/2024, 9:22 AMaliaspooryorik
aliaspooryorik
aliaspooryorik
Sathya M
04/03/2024, 9:25 AMaliaspooryorik
Sathya M
04/03/2024, 9:31 AMaliaspooryorik
Sathya M
04/03/2024, 9:34 AMaliaspooryorik
Sathya M
04/03/2024, 9:36 AMaliaspooryorik
<cfexecute
name="CMD"
arguments="C:\Program Files\Microsoft Office\root\Office16\WINWORD.EXE" "D:/cfexecute-openfile/test.docx"
timeout="10">
</cfexecute>aliaspooryorik
Sathya M
04/03/2024, 9:42 AMaliaspooryorik
name value is "CMD" - as you want to run in the context of the command promptSathya M
04/03/2024, 10:36 AMSathya M
04/03/2024, 11:02 AMaliaspooryorik
Sathya M
04/03/2024, 11:07 AMEvil Ware
04/03/2024, 11:08 AMEvil Ware
04/03/2024, 11:08 AMEvil Ware
04/03/2024, 11:09 AMSathya M
04/03/2024, 11:10 AMaliaspooryorik
aliaspooryorik
aliaspooryorik
<cfcontent
deletefile="false"
type="application/vnd.openxmlformats-officedocument.wordprocessingml.document"
file="#expandPath('./test.docx')#">Evil Ware
04/03/2024, 11:14 AMEvil Ware
04/03/2024, 11:18 AMSathya M
04/03/2024, 11:23 AMEvil Ware
04/03/2024, 11:27 AMEvil Ware
04/03/2024, 11:37 AMgsr
04/03/2024, 11:59 AMgsr
04/03/2024, 12:00 PMMichael Schmidt
04/03/2024, 1:22 PMAdam Cameron
Sathya M
04/03/2024, 3:14 PMaliaspooryorik
upload files from their systemThis is crux of the problem... You had a user "Albert" who is sat at a PC in Australia. Albert is logged into your ColdFusion Application. The ColdFusion Application is running on a server in Bali. The cfexecute command runs on the server in Bali. Albert in Australia is never going to have a Word document open on their PC as they are completely different systems running on different machines in different countries.
aliaspooryorik
Michael Schmidt
04/03/2024, 3:42 PMSathya M
04/04/2024, 3:24 AM