cfexecute command fails to execute the vbscript.
I am trying to format an excel sheet using vbscript. This script works fine when i execute it in the server. But when i call this script from my CF component file. This script call does not show any error or success.
Environment: ColdFusion 11, Windows 7 , 64 bit Machine.
After checking some threads on office automation I found this .
We have to add the Desktop folder in the systemprofile and system32 folder to open file by Excel if you have Windows Service or IIS on Windows 7 x64 (dev machine) and Server 2008 x64.
So I added Desktop folder under these 2 directories -
C:\Windows\System32\config\systemprofile
C:\Windows\SysWOW64\config\systemprofile
I tried this as well. Still no success. Any suggestions??
VBScript Call from ColdFusion:
---------------------------------------
<cfexecute name = "C:\Windows\System32\cscript.exe" arguments = "//Nologo #GV_SCRIPTPATH#" timeout="50000" variable = "savedOutput"></cfexecute>
<cflog text="#savedOutput#">
