Results 1 to 5 of 5

Thread: Some thing to think about

  1. #1

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Exclamation

    If i make a program it's inisable to user, and in the formload thing the code "kill C:\" is put in. I compile it and put in a folder the folder is located in in "C:\aaaa" what would happen? would an error message come up asking if the user is sure they want to delete the hd? would it do it? and if it did it. would it stop as soon as it came to itself? this would be because, it would delete itseft 1. would it contenue?

    note: im not doing this. im not makeing a virus, or anything bad. this is just something to think about!

  2. #2
    Frenzied Member Jop's Avatar
    Join Date
    Mar 2000
    Location
    Amsterdam, the Netherlands
    Posts
    1,986
    Download my file module
    http://www.geocities.com/despotez/file.bas.txt

    You can choose:

    Code:
    FileOperation "c:\", "", fDelete   'just delete ;)
    FileOperation "c:\", "", fDelete, False 'ask if you really want to delete
    have fun, whatever you wanna do
    Jop - validweb.nl

    Alcohol doesn't solve any problems, but then again, neither does milk.

  3. #3

    Thread Starter
    Banned
    Join Date
    Dec 2000
    Location
    USA, NJ
    Posts
    72

    Post um. . .

    what i ment was, what would happen if you put the code in to delete c:\? not the code.
    but thx any way!

  4. #4
    Guest
    I didn't try it, but I'm sure:

    Kill C:\ - would generate an error.
    Kill C:\*.* - would work.

    But the second code would only delete anything located in C:\, not any folders or anything like that.

  5. #5
    Junior Member
    Join Date
    Nov 2000
    Posts
    23

    Angry Hmph

    This is an obivous virus creation question... I refuse to answer!

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