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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Using operating system commands from sql scripts

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-06-15 : 02:03:55
Shay writes "Hello
I'm trying to build scripts that automates log shipping from sql server to abackup server.
I want to use operating system commands like "XCOPY" in my scripts.
If I try to write "XCOPY" in ascript it gives an error message saying that i't doesn't know astored procedure with name:XCOPY.

how do I use operating system commands from ascript?
How can I make the script engine undersatnd that i want to run an operating system command in aspesific line?

I'd be happy to get some help about it.
Tahnks alot"
   

- Advertisement -