Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)

  • RE: Using xp_cmdshell

    1) Modify your PrintToPDFConsole.exe to always return to the console a detailed status description. If it failed, then it should return the error number, error message, line number,...

  • RE: Using xp_cmdshell

    Actually the exe file is running but in the printer it is coming like

    Document Name --- Status --- Owner --- Pages --- Size

    --------------- --- ------- --- ------...

  • RE: Using xp_cmdshell

    RBarryYoung (4/1/2009)


    Krushna (4/1/2009)


    ...

    I have checked on server.

    I've kept the exe file in C:\.

    That's good...

    Please note that I'm using Adobe Acrobat 6.0 Professional and PDF Printer is installed in my system...

  • RE: Using xp_cmdshell

    RBarryYoung (3/30/2009)


    Krushna (3/30/2009)


    RBarryYoung (3/28/2009)


    OK, and what happens when you execute this yourself in a Query windows?:

    xp_cmdshell '\\192.10.10.245\E:\PrintToPDFConsole.exe'

    It was showing :

    The network path was not found.

    But after I've changed it to...

  • RE: Using xp_cmdshell

    RBarryYoung (3/28/2009)


    OK, and what happens when you execute this yourself in a Query windows?:

    xp_cmdshell '\\192.10.10.245\E:\PrintToPDFConsole.exe'

    It was showing :

    The network path was not found.

    But after I've changed it to a shared...

  • RE: Using xp_cmdshell

    Jeff Moden (3/26/2009)


    krushnasahu (3/26/2009)


    I have some more doubts.

    Actually I need to run an exe file from stored proc.

    So, I wrote the stored proc like:

    create proc callExe

    As

    EXEC xp_cmdshell '\\192.10.10.245\E:\PrintToPDFConsole.exe'

    In this 192.10.10.245...

  • RE: Using xp_cmdshell

    RBarryYoung (3/26/2009)


    "Not working" doesn't tell us very much. Is there an error message?

    When the stored proc was executed, the output coming as null and the exe is not processing.

  • RE: Using xp_cmdshell

    I have some more doubts.

    Actually I need to run an exe file from stored proc.

    So, I wrote the stored proc like:

    create proc callExe

    As

    EXEC xp_cmdshell '\\192.10.10.245\E:\PrintToPDFConsole.exe'

    In this 192.10.10.245 is another system...

  • RE: Using xp_cmdshell

    Angel (1/9/2004)


    Yes.. Haidong..

    I wasn't in my 5 sense.. jejeje...i was complicating my life.. jejeje.. The EXE file.. was running..(Not Calc.exe... myApplication)but i want to see it.. to believe...

Viewing 9 posts - 1 through 9 (of 9 total)