[RESOLVED] Create fake file
Results 1 to 6 of 6

Thread: [RESOLVED] Create fake file

  1. #1
    Join Date
    May 2006
    Location
    Mom's House
    Posts
    292

    Resolved [RESOLVED] Create fake file

    Hi everyone
    I'm looking for a certain tool that might create a fake file with a certain size.
    Not some specific file type, just a dummy one.
    I googled it but I guess I can't find the correct search keywords for the issue...
    Thanx in advance
    Have a nice day

    AMD Athlon X2 4200+
    ABit AN8 32X SLi
    4x512MB + 1GB TwinMos DDR400
    1 WD 160GB SataII + 1 Seagate 160GB SataII
    Gigabyte Nvidia 8800GT 512MB

  2. #2
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    1,743
    There would be numerous ways to bodge up a nondescript file. How exact does the size need to be, and how big? eg if not too big, just create nonsense text in a text editor then re-name the file?

  3. #3
    Join Date
    May 2006
    Location
    Mom's House
    Posts
    292
    Well, if the issue was, say some KB's that would be easy...
    I'm talking about about 500 or 600 MB's here.I know there are some apps that some guys used in order to increase their share size in p2p sharing.That's not necessarily what I'm asking for...
    Anyway, that's not the purpose.
    If there isn't any known app for that, any sample code would do the job.

    If it is any help, I'm trying to resize the free space on my disk in order to recreate a certain error.
    Have a nice day

    AMD Athlon X2 4200+
    ABit AN8 32X SLi
    4x512MB + 1GB TwinMos DDR400
    1 WD 160GB SataII + 1 Seagate 160GB SataII
    Gigabyte Nvidia 8800GT 512MB

  4. #4
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    1,743
    On WinXP? You could use FSUTIL.EXE (in Windows\System32)

    Command line syntax:

    FSUTIL FILE CREATENEW pathname filesize

    pathname e.g. D:\bigfile.dat

    http://www.microsoft.com/resources/d....mspx?mfr=true

  5. #5
    Join Date
    May 2006
    Location
    Mom's House
    Posts
    292
    Thx a lot Platypus...That seems to do the job!
    Have a nice day

    AMD Athlon X2 4200+
    ABit AN8 32X SLi
    4x512MB + 1GB TwinMos DDR400
    1 WD 160GB SataII + 1 Seagate 160GB SataII
    Gigabyte Nvidia 8800GT 512MB

  6. #6
    Join Date
    Jan 2003
    Location
    Australia
    Posts
    1,743
    Glad to help.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •