Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
chander_2580
Yak Posting Veteran
76 Posts |
Posted - 2008-02-14 : 09:50:07
|
Hi Guru'sI have a job on hand to create a step for sqlserver job that create a file by using cmd and then write some text init, please suggest how can i do this ?Thanks |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2008-02-14 : 09:53:35
|
exec xp_cdmshell "echo blablabla >myfile.txt" E 12°55'05.25"N 56°04'39.16" |
 |
|
harsh_athalye
Master Smack Fu Yak Hacker
5581 Posts |
Posted - 2008-02-14 : 09:55:54
|
Create step that is of type "Operating System Command" and enter OS command to redirect whatever you want to write to a file.Harsh AthalyeIndia."The IMPOSSIBLE is often UNTRIED" |
 |
|
chander_2580
Yak Posting Veteran
76 Posts |
Posted - 2008-02-14 : 10:03:35
|
Can you please elaborate the steps ... i am preety much new to sql server.. please helpquote: Originally posted by Peso exec xp_cdmshell "echo blablabla >myfile.txt" E 12°55'05.25"N 56°04'39.16"
|
 |
|
chander_2580
Yak Posting Veteran
76 Posts |
Posted - 2008-02-14 : 10:31:07
|
Thanks alot for your help .. thanks a tonchander |
 |
|
|
|
|