Bushy wrote:
>
> If I run this command on the server at a command prompt it works just fine.
>
> C:\>net print \\SERVERNAME\TESTPRN
>
>
> Name Job # Size Status
>
> -------------------------------------------------------------------------------
> testprn Queue 0 jobs *Printer Active*
> The command completed successfully.
<cfset ShowQueueExe ="c:\winnt\system32\net.exe">
<cfsavecontent variable="queue">
<cfexecute name="#ShowQueueExe#"
arguments="testprn"
outputFile ="prn.log"
timeOut="60">
</cfexecute>
</cfsavecontent>
<cfoutput>#queue#</cfoutput>
Jochem
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for
dependable ColdFusion Hosting.
http://www.cfhosting.com
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4