473,320 Members | 2,164 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Windows equivalent of fstatfs() or fstatvfs()?

Is there a Windows equivalent to the Unix statfs() or statvfs() call? In
other words is there any function that you can pass a file handle to and get
back disk space information?

Thanks!
May 15 '06 #1
3 5905
"Dave" <da******@yahoo.com> writes:
Is there a Windows equivalent to the Unix statfs() or statvfs() call? In
other words is there any function that you can pass a file handle to and get
back disk space information?


The people who know the answer to this hang out in newsgroups with
"windows" or "win32" in their names.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
May 15 '06 #2
Oh I was looking in comp.lang instead of comp.os. My bad I guess.
May 15 '06 #3
On 2006-05-15, Dave <da******@yahoo.com> wrote:
Is there a Windows equivalent to the Unix statfs() or statvfs() call? In
other words is there any function that you can pass a file handle to and get
back disk space information?


There is, but it's much longer and complicated.
Search for 'FindFirstFile' and 'FindNextFile'.

Mike

*** Posted via a free Usenet account from http://www.teranews.com ***
May 15 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: John Leslie | last post by:
Or does anyone have a python script which takes a standard unix command as an argument and runs the pyton/windows equivalent on windows?
1
by: Muscha | last post by:
Hi, On an ASP.Net I can use UrlEncode() method to encode a URL that I want to forward using respnose.redirect, what's the equivalent of this in Windows Form? I want to be able to do open a...
1
by: Tarren | last post by:
Hi: In Visual Basic is there the equivalent of a Session variable where I can store variables in memory while the executable is running? I have been coding ASP .NET for some time, but am new to...
4
by: Jim | last post by:
I am writing a Windows Service in VB.Net, and right upfront I need to pass the path to my config.xml file to the constructor of the class which reads it. In the old days, App.Path & "\config.xml"...
9
by: aaronluna | last post by:
Hi All, I was wondering if it is possible to easily convert an asp.net user control (.ascx) into an equivalent windows app. I plan on simply duplicating the user control in a c# windows app...
1
by: neelz | last post by:
Hi Friends, I am porting an application from Linux to Windows. In the source code, <sys/times.h>, time.h etc. header files are included and tms structure, times() function are getting used. I have...
12
by: Stewart Berman | last post by:
Where is the equivalent of the Windows.h (and it's includes) for C#?
0
by: tvnaidu | last post by:
I am looking for windows SetTimer equivalent routine in Linux, need to port this line to Linux from Windows. watchdog_timer_id=SetTimer(NULL, 0, 60000, (TIMERPROC)TimerProc);
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.