C:\CFusionMX\runtime\bin>copy
D:\Inetpub\WWWROOT\BBDatabase\results.txt \\SWPRINT\LAB_HEMA
The system cannot find the file specified.

<cfquery name="GetQryList" datasource="BloodBank">
select *
from PTBB
where len(MRN) = 7
order by Lname
</cfquery>
<cfsavecontent variable="results">
<table border="0" align="center">
  <tr>
    <td colspan="6">
      <div align="center"><b>Auto-print Testing <cfoutput>at
#TimeFormat(CreateODBCTime(Now()), "HH:mm:ss tt")# on
#DateFormat(CreateODBCDate(Now()), "MM-DD-YYYY")#</cfoutput></b></div>
    </td>
  </tr>
  <tr>
    <td bgcolor="FFFFCC">
      <div align="center"><b>Name</b></div>
    </td>
    <td bgcolor="FFFFCC">
      <div align="center"><b>ABO</b></div>
    </td>
    <td bgcolor="FFFFCC">
      <div align="center"><b>RH</b></div>
    </td>
    <td bgcolor="FFFFCC">
      <div align="center"><b>Antigen</b></div>
    </td>
    <td bgcolor="FFFFCC">
      <div align="center"><b>Antibody</b></div>
    </td>
  </tr>
  <cfoutput query="GetQryList">
    <tr>
      <td bgcolor="CCCCFF">#LName#, #FName#</td>
      <td bgcolor="CCCCFF">#ABO#</td>
      <td bgcolor="CCCCFF">#RH#</td>
      <td bgcolor="CCCCFF">#Antigen#</td>
      <td bgcolor="CCCCFF">#Antibody#</td>
    </tr>
  </cfoutput>
</table>
<strong>
<div align="center"><cfoutput><font
color="990000">#GetQryList.RecordCount#</font></cfoutput><font
color="990000">
  Records Found</font></div>
</strong>
</cfsavecontent>

<Cffile action="write"
file="D:\Inetpub\WWWROOT\BBDatabase\results.txt" output="#results#>

<cfexecute name="c:\copy.bat" 
arguments="D:\Inetpub\WWWROOT\BBDatabase\results.txt
\\SWPRINT\LAB_HEMA" outputfile="c:\BBBatch.txt"></cfexecute>

How do you resolve this error?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226007
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to