Home > other >  Bat some moving the code
Bat some moving the code

Time:10-08

1. Shutdown script

@ echo off

Shutdown - s - t 0



2. Restart the script

@ echo off

Shutdown -r -t 0



3. Code rain

@ echo off

The title number rain

Color 0 a

Setlocal ENABLEDELAYEDEXPANSION

For/l % % I in (0) do (

Set "line="

For/l % % j in,1,80 (1) the do (

The set/a Down % % j -=2

The set x="! The Down % % j!"

If! x! LSS (0

The set/a Arrow % % j=! The random! % % 3

The set/a Down % % j=! The random! % % 15 + 10)

The set x="! Arrow's % % j!"

If "! X!"=="2" (

Set the line="! The line!!!!! The random: ~ 1! "

) else (set "line=! The line!
")
)

The set/p=! The line!
)



4. Clean up system junk

@ echo off

The echo is clean up system junk files, please wait...

Del/f/s/q % systemdrive % \ *. TMP

Del/f/s/q % systemdrive % \ * _mp

Del/f/s/q % systemdrive % \ *. The log

Del/f/s/q % systemdrive % \ *. The gid

Del/f/s/q % systemdrive % \ * CHK

Del/f/s/q % systemdrive % \ *. Old

Del/f/s/q % systemdrive % \ recycled \ *. *

Del/f/s/q % windir % \ *. Bak

Del/f/s/q % windir % \ prefetch \ *. *

Rd/s/q % windir % \ temp & amp; Md % windir % \ temp

Del/f/q % userprofile % \ cookies \ *. *

Del/f/q % userprofile % \ recent \ *. *

Del/f/s/q "% userprofile % \ Local Settings \ Temporary Internet Files \ *. *", "

Del/f/s/q "% userprofile % \ Local Settings \ Temp \ *. *", "

Del/f/s/q "% userprofile % \ recent \ *. *", "

Echo clearing system junk files to complete!

Pause



5. Calculator

Calc



6. Visit a web site

Start iexplore HTTP: XXXXXXXXXXXXX

XXXXXXXXXX for websites, can change
  • Related