September 6, 2013 at 4:42 am
Hi all,
i know there are many solutions available for deleting files from a folder older than X days.\
But need a help to create a Script Task or Any other solution that can delete files from shared folder on a network shared drive.
Thanks in advance.
September 6, 2013 at 5:02 am
What problems are you running into?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 6, 2013 at 5:19 am
Koen Verbeeck (9/6/2013)
What problems are you running into?
Thanks for acknowledging my problem.
In a nutshell, i want a Script for my script task that delete all files from the Folder (which is a Shared folder in a network ) which are older than 7 days.
September 6, 2013 at 6:22 am
you can use fileinfo in C#
Please see the below link.
September 6, 2013 at 6:43 am
Mr. Kapsicum (9/6/2013)
Koen Verbeeck (9/6/2013)
What problems are you running into?Thanks for acknowledging my problem.
In a nutshell, i want a Script for my script task that delete all files from the Folder (which is a Shared folder in a network ) which are older than 7 days.
I know what you want to realize.
My question was what problems do you have when writing the script?
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 8, 2013 at 4:50 am
Mr. Kapsicum (9/6/2013)
Koen Verbeeck (9/6/2013)
What problems are you running into?Thanks for acknowledging my problem.
In a nutshell, i want a Script for my script task that delete all files from the Folder (which is a Shared folder in a network ) which are older than 7 days.
You're not asking any questions here. If you want help with something, please ask a question.
At the moment, I have been able to derive the fact that you would like some help with writing a script task.
I also know that you are aware that there are plenty of resources available on-line for such file-related tasks, but for some reason these are not good enough for you.
The absence of evidence is not evidence of absence.
Martin Rees
You can lead a horse to water, but a pencil must be lead.
Stan Laurel
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply