creating a CmdExec job

  • Hi All,

     

    I am trying to create a job that fires off a .bat. All the bat file is doing is starting up note pad.

    so in it i have the line :

    c:\temp\test.bat

     

    the bat file has:

    cmd.exe /c "C:\WINNT\system32\Notepad.exe"

    when I run the job is says executing but nothing happend..any ideas ??

     

     

    Hope this helps...

    Ford Fairlane
    Rock and Roll Detective

  • What's the purpose to start notepad in a sql job? SASIK, SQL agent job system CAN NOT start any app with UI.

  • The purpose is to test why an exe would not fire uop in CmdExec. I have an exe that fires up and prompts you for a user name and password. I have scripted a btach file that does all that for you, but when I create the job in EM to run the batchfile nothing happens and I am trying to understand why.

     

     

    Hope this helps...

    Ford Fairlane
    Rock and Roll Detective

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply