Running systeminfo with CFEXECUTE returns an empty string. Why?

2011-08-03 Thread Scott Niven

Any ideas what I'm doing wrong? Here's my code:

cfexecute name=c:\windows\system32\systeminfo.exe
arguments=/FO CSV
variable=data
timeout=10 /

cfdump var=#data#

I've also tried running it without the arguments (see below). Both the code 
above and the code below return an empty string:

cfexecute name=c:\windows\system32\systeminfo.exe   
variable=data
timeout=10 /

cfdump var=#data#

Any ideas?

~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346485
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm


RE: Running systeminfo with CFEXECUTE returns an empty string. Why?

2011-08-03 Thread Bill Franklin

Logon to the CF server using the name of the user that CF was installed with 
and try running systeminfo.exe using a CMD prompt.   My guess is that it is 
using a user that doesn't have permission to run that process, as I tried the 
second command you provided, and it worked just fine...

-Original Message-
From: Scott Niven [mailto:scott_ni...@ncsu.edu] 
Sent: Wednesday, August 03, 2011 11:39 AM
To: cf-talk
Subject: Running systeminfo with CFEXECUTE returns an empty string. Why?


Any ideas what I'm doing wrong? Here's my code:

cfexecute name=c:\windows\system32\systeminfo.exe
arguments=/FO CSV
variable=data
timeout=10 /

cfdump var=#data#

I've also tried running it without the arguments (see below). Both the code 
above and the code below return an empty string:

cfexecute name=c:\windows\system32\systeminfo.exe   
variable=data
timeout=10 /

cfdump var=#data#

Any ideas?



~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:346489
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm