Hi,

I can get the command to run properly at a command prompt but it won't run via my webpage.

I'm trying to display the queues on the server using this.

              <cfexecute name="C:\WINNT\system32\net.exe"
                         arguments="print '\\SERVERNAME\\PRINTERNAME' 666 /delete"
                         timeOut="60">
              </cfexecute>

This will run fine in a command window.

If I run it via the webpage it displays the net start syntax as if there is an error in the syntax.

I'm running other stuff using <cfexecute no problem.

Could it be the "\\" messing it up?
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to