You are here: Re: Using sql to execute a batch file « MsSQL Server « IT news, forums, messages
Re: Using sql to execute a batch file

Posted by Roy Harvey on 08/09/07 18:26

You can look at xp_cmdshell. Note that no program run that way can
open any sort of window, or prompt the "user" for anything at all.

You may also want to look into running it as a job.

Roy Harvey
Beacon Falls, CT

On Thu, 09 Aug 2007 15:44:36 -0000, mcolson <mcolson1590@gmail.com>
wrote:

>Is it possible to use sql to execute a batch file? I would like to
>execute the following "C:\BTW\bartend.exe /f=C:\BTW\Toolbox\Formats
>\carnum.btw /p", 6
>
>Thanks,
>
>Matt

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация