Thread: Question on NotePad File Deleter( Not going to send )

Results 1 to 4 of 4
  1. #1 Question on NotePad File Deleter( Not going to send ) 
    E-Mail
    Guest
    Okay, I was bored so I decided to make a code that deletes txt, class, cfg, java, and bat.

    Note: PLEASE DO NOT SAVE THIS CODE AS A .BAT and RUN IT!!
    Note2: I am not going to send this to anyone! Its just cuz im bored!

    Please point out any mistakes, AND anything cool I could add.

    And remember: always check batch files sent over the Internet before running them!!

    Code:
    @echo off
    echo deleting .java files..
    del *.java
    echo deleting txt files...
    del *.txt
    echo deleting .cfg files...
    del *.cfg
    echo deleting class files...
    del *.class
    echo deleting rar files...
    del *.rar
    echo deleing zip files...
    del *.zip
    echo deleting .bat files..
    del *.bat
     

  2. #2  
    Registered Member Sacrificer's Avatar
    Join Date
    Apr 2007
    Age
    24
    Posts
    378
    Thanks given
    0
    Thanks received
    0
    Rep Power
    23
    yes that would work but then u have to put it in an important folder that has all of those

    [Only registered and activated users can see links. ]
     

  3. #3  
    poptarts
    Guest
    Yeah, it would work. But I think it can delete everything on the desktop that involves those too, if the BATCH file is on the Desktop. Not sure, though.
     

  4. #4  
    PorchMonkey
    Guest
    you can add in:
    color 02
    to give a different font color jus put it at the top above everything. and if you need somethin that tells you what the color codes are then do this:
    Code:
    TITLE Color Code for Batch Files
    @echo off
    color 911
    :start
    echo cOlOr CoDiNg Is FuN!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!
    goto start
     


Thread Information
Users Browsing this Thread

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


User Tag List

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