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
 General SQL Server Forums
 New to SQL Server Programming
 to find the folder size, last modified date using

Author  Topic 

ukunapareddy
Starting Member

1 Post

Posted - 2011-02-03 : 14:35:23
How can I find folder size and last modified date of the folder using TSQL for all folders under a given path in SQL server?

Thanks

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-02-03 : 15:01:21
You can use xp_cmdshell to call the dir command with the appropriate flags, or maybe a Powershell script, but that's about it. There are no native SQL commands to provide that information.
Go to Top of Page
   

- Advertisement -