mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2003
Posts: 6
T
Telexen Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Aug 2003
Posts: 6
how can I get info (size, usage) of the page file, which in WinXP should be C:\pagefile.sys. I've tried to use $exists(C:\pagefile.sys) to evenmake sure mIRC can see it exists, but it returns $false

Joined: Dec 2002
Posts: 1,527
_
Hoopy frood
Offline
Hoopy frood
_
Joined: Dec 2002
Posts: 1,527
try $findfile or even the new fopen commands might be a way to go. i dont know of any other metthod for u to get this other than using moo.dll which does have the ability to get pagefile info. its done like this

$dll($scriptdirfsmem.dll,GetMemInfo,totalpagefile)
returns the total page file and like this to get free page file info

$dll($scriptdirfsmem.dll,GetMemInfo,freepagefile)

u can then do a $calc to figure out the usage between them altho thats the only method i know of returning the value im sure there are others



D3m0nnet.com
Joined: Aug 2003
Posts: 6
T
Telexen Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
T
Joined: Aug 2003
Posts: 6
that doesn't look like a routine in moo.dll .... I just checked and it's not. What dll is that?

EDIT:
nevermind, figured out it was fsmem.dll from DragonZap

Last edited by Telexen; 26/10/03 06:13 AM.

Link Copied to Clipboard