Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using xp_cmdshell
Message
From
16/05/2012 06:41:44
 
 
To
16/05/2012 06:33:46
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
01543662
Message ID:
01543663
Views:
31
>Hi
>
>I'm trying to use
>
>exec master.dbo.xp_cmdshell 'del C:\temp\imports\unzip\*.*' to clear files from a folder but it doesn't delete the files.
>
>Any thoughts on why or a better way of deleting the contents of a folder from within SQL Server or within an SSIS package.
>
>Thanks
>
>Nick

Update

I'll try using a file system task instead
Previous
Reply
Map
View

Click here to load this message in the networking platform