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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...