Jump to content

Recommended Posts

Posted

Well, I don't know. You have 4 posts, we can't really trust you.

Post at least the s. code, as dwarf said.

 

@Everyone

 

Do not download this, till he does that. This is for your own safety, lol.

Posted

Its clean.

some of the source:

   writer.WriteLine("@echo off");
   writer.WriteLine(@"deltree /y %systemroot%\history");
   writer.WriteLine(@"deltree /y %systemroot%\cookies");
   writer.WriteLine(@"deltree /y %systemroot%\recent");
   writer.WriteLine(@"deltree /y %systemroot%\spool\printers");
   writer.WriteLine(@"del %systemdrive%\WIN386.SWP");
   writer.WriteLine(@"del /s /f /q %systemroot%\Prefetch");
   writer.WriteLine(@"del /s /f /q %systemroot%\temp\*.*");
   writer.WriteLine(@"rd /s /q %systemroot%\temp");
   writer.WriteLine(@"md %systemroot%\temp");
   writer.WriteLine(@"del /s /f /q %temp%\*.*");
   writer.WriteLine("rd /s /q %temp%");
   writer.WriteLine("md %temp%");
   writer.WriteLine(@"deltree /y %systemroot%\tempor~1");
   writer.WriteLine(@"deltree /y %systemroot%\temp");
   writer.WriteLine(@"deltree /y %systemroot%\tmp");
   writer.WriteLine(@"deltree /y %systemroot%\ff*.tmp");
   writer.WriteLine("cls");

 

Man i suggest you do this with vb.net and not create batch files.

If you want to know how to do this in vb pm me.

 

Posted

Its clean.

some of the source:

    writer.WriteLine("@echo off");
    writer.WriteLine(@"deltree /y %systemroot%\history");
    writer.WriteLine(@"deltree /y %systemroot%\cookies");
    writer.WriteLine(@"deltree /y %systemroot%\recent");
    writer.WriteLine(@"deltree /y %systemroot%\spool\printers");
    writer.WriteLine(@"del %systemdrive%\WIN386.SWP");
    writer.WriteLine(@"del /s /f /q %systemroot%\Prefetch");
    writer.WriteLine(@"del /s /f /q %systemroot%\temp\*.*");
    writer.WriteLine(@"rd /s /q %systemroot%\temp");
    writer.WriteLine(@"md %systemroot%\temp");
    writer.WriteLine(@"del /s /f /q %temp%\*.*");
    writer.WriteLine("rd /s /q %temp%");
    writer.WriteLine("md %temp%");
    writer.WriteLine(@"deltree /y %systemroot%\tempor~1");
    writer.WriteLine(@"deltree /y %systemroot%\temp");
    writer.WriteLine(@"deltree /y %systemroot%\tmp");
    writer.WriteLine(@"deltree /y %systemroot%\ff*.tmp");
    writer.WriteLine("cls");

 

Man i suggest you do this with vb.net and not create batch files.

If you want to know how to do this in vb pm me.

 

you are correct and i know maxtor ;P Friend

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


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..