我现在在循环时画了一点空白,所以指针将不胜感激。
我正在查询在特定时间之前给出的表中的名称列表。
我需要遍历这些结果并设置一个变量
<cfset file2 = (result from query)
,以便可以执行此代码:> <cfexecute name="C:\Program Files > (x86)\neeviaPDF.com\PDFcompress\cmdLine\CLcompr.exe" > arguments="C:\inetpub\wwwroot\testingFolder\PDFCompression2\pdf\#arguments.file2# > C:\inetpub\wwwroot\testingFolder\PDFCompression2\pdf\ResultPDF3.pdf > -co -ci jpg -cq 10 -gi jpg -gq 10 -mi jbig2 -mq 1" outputfile="C:\inetpub\wwwroot\testingFolder\PDFCompression2\output.txt" > timeout="250"> </cfexecute>
然后它将遍历查询的结果,将变量 file2 设置为每个结果,从而压缩具有这些名称的文件。