all groups > sql server (alternate) > july 2003 >
You're in the

sql server (alternate)

group:

Help ---! Procedure to delete files from operating system


Help ---! Procedure to delete files from operating system rjdave NO[at]SPAM indiatimes.com
7/11/2003 4:05:19 PM
sql server (alternate):
Hi all,

Can anyone help me with a script which would delete files or
move them to a different folder at some scheduled time..!
Please.....!!!

Re: Help ---! Procedure to delete files from operating system Erland Sommarskog
7/11/2003 11:09:07 PM
Raj (rjdave@indiatimes.com) writes:
[quoted text, click to view]

Which files? MDF, LDF and NDF files? Or just any random selected files?

In any case, you could use SQL Server Agent to create a CmdExec job for
the task. You can access SQL Server Agent from Enterprise Manager.

--
Erland Sommarskog, SQL Server MVP, sommar@algonet.se

Books Online for SQL Server SP3 at
AddThis Social Bookmark Button