Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

active X Script Question

Status
Not open for further replies.

swoodring

Programmer
Dec 7, 2000
114
US
I want to do a simple active X script within my DTS. I'm bringing in a text file to transform it. Once I'm done I want to delete the text file. I want to just issue the Kill command to delete the file. But I don't see the Kill command listed in the list of functions. I tried to use it anyways it parses but when it runs comes back with an error type mismatch "Kill". Is there another way of deleting the file in VB script.

Stacy
 
As an alternative, you could add a SQL process in your DTS job that executes xp_cmdshell with the command to DEL the file. Robert Bradley
teaser.jpg

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top