Jump to content
Sign in to follow this  
EvAsion

Remove gay files...

Recommended Posts

EvAsion

I got spoofed at school.. and i now have a VERY large number of 2kb files in my documents (100,000+)

They all have "gay" at the end of their filename.. they are all .txt files, and the first part of the filename is just a random series of numbers

Would anyone be able to make a program that deletes all files that have "gay" in their filename?

edit: they are all in the same folder

Edited by EvAsion

Share this post


Link to post
Share on other sites
Fossil Rock

Do a system wide search for *gay.txt and then delete them all.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
Somerset

I have deleted over 40,000 of them but this takes a lot of time and im hoping for something that just runs in the background and doesn't take much cpu (sleeps between every deletion).

are they all located in the same directory?

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites
Generator

Do a system wide search for *gay.txt and then delete them all.

That's actually pretty fast. It won't really take long. Unless they regenerate again. :rolleyes:

Share this post


Link to post
Share on other sites
EvAsion

That's actually pretty fast. It won't really take long. Unless they regenerate again. :rolleyes:

actually it takes about 4 minutes to delete 1000.. we have very slow computers.. and in a class lesson we only get about 40 minutes.. during this time while i'm deleting the computer lags hard and i'm unable to do work.

(p.s) sometimes they mysteriously come back but random

Share this post


Link to post
Share on other sites
Somerset

That's actually pretty fast. It won't really take long. Unless they regenerate again. :rolleyes:

drop to command prompt in that directory and paste this "del /s *gay.txt" then hit enter.

 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites
EvAsion

drop to command prompt in that directory and paste this "del /s *gay.txt" then hit enter.

our school blocks cmd but autoit saves me from that.. k thanks i'll try.

also.. the number at the start is varying in length.. sometimes 5 sometimes 10292489184.142857872 could that have any effect on the use of one * symbol?

Edited by EvAsion

Share this post


Link to post
Share on other sites
BeardedBlunder

open command prompt, cd to your my documents folder

type

del *gay.txt

hit enter

Share this post


Link to post
Share on other sites
Fossil Rock

I have deleted over 40,000 of them but this takes a lot of time and im hoping for something that just runs in the background and doesn't take much cpu (sleeps between every deletion).

My suggestion is very easy .... if they keep coming back then you need to find the source of the problem. 1 search - all gone.


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
EvAsion

My suggestion is very easy .... if they keep coming back then you need to find the source of the problem. 1 search - all gone.

suprisingly some of them have come back.. but i think its just some server error.. i'll try tomorrow.. if i can't delete them all i'll contact system administrator.

Share this post


Link to post
Share on other sites
Valuater

Why not use Windows explorer > Search the hard drive *gay.txt > select all > delete all

and be done with it

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
Fossil Rock

open command prompt, cd to your my documents folder

type

del *gay.txt

hit enter

That will only work in the current directory .... something like that will require command line switches to that wil search all directories .... my way is easier ...


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
Fossil Rock

Why not use Windows explorer > Search the hard drive *gay.txt > select all > delete all

and be done with it

8)

Bit slow are we ???


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
EvAsion

Why not use Windows explorer > Search the hard drive *gay.txt > select all > delete all

and be done with it

8)

as i said there is a HUGE number of files.. i know where they all are.. its just the process of deletion is very slow, and i'm hoping for an autoit script that has a sleep between every file deletion to reduce cpu load.

THEY ARE ALL IN THE SAME DIRECTORY AS I EDITED ABOVE SEVERAL POSTS AGO.. SORRY.

Edited by EvAsion

Share this post


Link to post
Share on other sites
Fossil Rock

as i said there is a HUGE number of files.. i know where they all are.. its just the process of deletion is very slow, and i'm hoping for an autoit script that has a sleep between every file deletion to reduce cpu load.

THEY ARE ALL IN THE SAME DIRECTORY AS I EDITED ABOVE SEVERAL POSTS AGO.. SORRY.

No script will delete any faster ... or are you trying to get a script written for you so you can delete all kinds of files on SOMEONE ELSE'S machine?


Agreement is not necessary - thinking for one's self is!

My-Colors.jpg

cuniform2.gif

Share this post


Link to post
Share on other sites
Valuater

as i said there is a HUGE number of files.. i know where they all are.. its just the process of deletion is very slow, and i'm hoping for an autoit script that has a sleep between every file deletion to reduce cpu load.

THEY ARE ALL IN THE SAME DIRECTORY AS I EDITED ABOVE SEVERAL POSTS AGO.. SORRY.

If you did the above... you would be done in a very few minutes...

about the same time you have spent wanting someone else to write a script for you

8)


NEWHeader1.png

Share this post


Link to post
Share on other sites
BeardedBlunder

.....i now have a VERY large number of 2kb files in my documents (100,000+)...

my reading of that he only needs to delete them in current dir, as long as "My Documents" is current

Share this post


Link to post
Share on other sites
Generator

as i said there is a HUGE number of files.. i know where they all are.. its just the process of deletion is very slow, and i'm hoping for an autoit script that has a sleep between every file deletion to reduce cpu load.

THEY ARE ALL IN THE SAME DIRECTORY AS I EDITED ABOVE SEVERAL POSTS AGO.. SORRY.

Delete that folder right NOW :rolleyes:

Share this post


Link to post
Share on other sites
Somerset

"del /s *gay.txt" at the root of the drive will take care of them all... such as c: the /s covers sub directories... you might have to add and extra switch of /q for quiet... also like stated it sounds as if someone has a malicious program writting them.. remove that first then you would be home free.


 

Spoiler

shoot_zpsfd329d66.png
dontbelieveeverythingyouthink_zps0e1e900

Madness is the first step to understanding...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.