How to programmatically detect which drive is used for the swap file on Windows?
All,
As far as I know in Windows Operating Systems we have Virtual Memory which is stored on the hard disk. Which drive is used for this purpose ? I have a service that uses a lot of memory so I would like to know whether there is enoug开发者_StackOverflowh disk space.
Rgds,
MK
You can use vbscript then call this in your preferred language. See this reference for page file scripts.
精彩评论