Results 1 to 4 of 4

Thread: Changing a file size

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jul 1999
    Posts
    219

    Post

    changing a file size like if it 250KB i could or make it look like it only 50KB

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Posts
    305

    Post

    Nope. Sorry. There are some things you just can't do. Even if you could, you wouldn't really want to. You could blatently lie on a single program by doing

    Dim MySize
    MySize = FileLen("TESTFILE") ' Returns file length (bytes).
    Text1.Text = MySize / 10, where Text1.Text is the false file size. But you can't make it permanent.

    bob

  3. #3
    Lively Member
    Join Date
    Oct 1999
    Posts
    101

    Post

    XxEvilxX,

    Have you looked into zipping the file?

    All the best.

    Chris

  4. #4
    PowerPoster
    Join Date
    Jul 1999
    Posts
    5,923

    Post

    I came across a game once that came on CD, and the developers could clearly get it to fool Windows as one file was over 2GB!! (in DOS it registered as only 200 MB - must be able to fool Windows as CD's can only hold 650 MB (700 at a push!!)

    Useful copy protection feature I think

    Regards,

    ------------------
    - Chris
    chris.kilhams@btinternet.com
    If it ain't broke - don't fix it

Posting Permissions

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



Click Here to Expand Forum to Full Width