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
 Script Library
 Useful Extended SPs

Author  Topic 

nguyen
Starting Member

8 Posts

Posted - 2004-10-05 : 17:34:39
Get current free space for all drives in megabytes (Documented)
EXEC master.dbo.xp_fixeddrives


Determine if file exists (UnDocumented Procedure)
DECLARE @i int
EXECUTE master.dbo.xp_fileexist '\\myServer\c$\boot.ini', @i OUTPUT
SELECT @i

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-10-06 : 03:04:47
these are cool, i created some exe's just to get these data...
imagine my amazement that there are existing sp's for the job.
Go to Top of Page

kselvia
Aged Yak Warrior

526 Posts

Posted - 2004-10-06 : 03:14:38
sp_helpextendedproc will show you all xp's documented and undocumented.

--Ken
I want to die in my sleep like my grandfather, not screaming in terror like his passengers.
Go to Top of Page

jen
Master Smack Fu Yak Hacker

4110 Posts

Posted - 2004-10-06 : 03:28:06
tnx Ken, i'll check them out, i won't be surprised if i see some of the tools i made are in ext sp's
Go to Top of Page
   

- Advertisement -