Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
how can i create an empty file with a specified size that takes up no space yet when i go to properties it will say a certain amount of gigs which i will pick
thanx!

If you allocate a file of certain siza it will display the size even though you did not write anyting to it. However you cannot create the file without it taking space. If that was allowed how would the OS manage the file system. If an application opened your file and wrote to it what would happen. You could try playing tricks with the directory entry and the FAT. Any real file operations would probably create errors.

I don't think that those values are valid.
I would refer you to this article on the allocation of large drive space.
http://www.pcguide.com/ref/hdd/file/partFAT32-c.html.
Your example does not show an empty file, but a directory entry using 4k per entry.

i just need a file like that
although it takes up almost no space on disk it thinks that it is supposed to be that size
i got that pic when i was looking for that kind of thing and it sent me to this file-sharing site "dcmagnet" and it says that these things are used by people who want to fool their dc++ to thinking that they are sharing more than they are (they call them garbage files) so they are allowed to enter hubs that demand alot of sharing for entry
anyway, so although the values are off, that thing does exist so can anyone help me do it
thanks!!!

You are a little late in trying to fool the other members of this p2p group. While some of you try to pretend to have files available to share, others have figured out how to detect the bogus sites and have started getting them banned/blocked. You are going to have to be a lot better at returning fake file and directory information, maybe dynamically generating them on request. Read the site I referred you to.

![]() |
PERL help?
|
Goofy problem with gcc
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |