Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Linux \ Using 30 seconds to write a detailed analysis of garbage removal system     - MySQL appears data too long for column 'name' at row 1 to solve (Database)

- HDFS Distributed File System Resource Manager Developer summary (Server)

- About redis in Replication (Database)

- Definition Format Oracle basis of various statements (Database)

- Retro terminal in Linux (Linux)

- Internet proxy workaround can not be used under Linux YUM (Linux)

- 10 Nginx safety tips (Linux)

- The strings in Python reside (Programming)

- Python type way of comparison (Programming)

- KUbuntu / Ubuntu 14.04 (downgrade) installed SVN 1.7 (Linux)

- Tsung first test installation (Linux)

- Linux Task Scheduler (at, crontab) (Linux)

- Linux set to select the appropriate level of security of the network according to deployment (Linux)

- Linux Systemd-- To start / stop / restart services in RHEL / CentOS 7 (Linux)

- Ubuntu mysql stop fail to solve the problem (Database)

- Linux iptables port mapping settings (Server)

- Linux Shell Scripting (Programming)

- Java memory area and memory overflow exception (Programming)

- Share and show your code on GitHub (Linux)

- Arrow keys, backspace key garbled in Python-2.7.5 Interactive Mode under CentOS 5.8 (Linux)

 
         
  Using 30 seconds to write a detailed analysis of garbage removal system
     
  Add Date : 2016-12-04      
         
         
         
  This article is talking about a very wide spread of the Internet, "30 seconds garbage removal system," the batch, the paper stood novice point of view to write, even if you do not understand that batch, this article you can read it.

Let me talk about some of the basic commands used in this batch:

@: Add the command line of the front, showing the runtime does not display this line command line (only affect the current line);

echo: display indicates the character of this command;

echo off: after this statement represents the command to run all the command line does not show itself;

del: Delete / f: Force Delete / s: delete the current folder and all subfolders files / q: does not require confirmation;

rd: a command to delete a subdirectory;

md: Create a folder;

pause: Running this command to suspend the batch, and displayed on the screen Press any key to continue ... prompt, waiting for the user to press any key to continue.

Several system variables, said:

"% SYSTEMDRIVE% \" refers to the location of your system disk directory, if your system is installed in the C drive, then the "% SYSTEMDRIVE% \" is equivalent to "C: \";

% Windir% =% SystemRoot% = C: \ WINDOWS directory current startup system;

% USERPROFILE% = C: \ Documents and Settings \ Current User folder of the current user data variables.

Well, if the above is clear, that the following is also easy to understand.

@echo off (not displayed subsequent command and the current command line)
echo Clearing system junk files, please wait ...... (screen display "garbage removal system files, please wait ......")
del / f / s / q% systemdrive% \ *. tmp (count forcibly remove the system extension in the root directory of the disk in a file named .tmp)
del / f / s / q% systemdrive% \ * ._ mp (forcibly remove the system operator expansion in the root directory of the disk in a file named ._mp)
del / f / s / q% systemdrive% \ *. log (count forcibly remove the system extension in the root directory of the disk in a file named .log)
del / f / s / q% systemdrive% \ *. gid (forcibly remove the system operator expansion in the root directory of the disk in a file named .gid)
del / f / s / q% systemdrive% \ *. chk (forcibly remove the system operator .chk file name extension in the root directory of the disk)
del / f / s / q% systemdrive% \ *. old (forcibly remove the system operator expansion in the root directory of the disk in a file named .old)
del / f / s / q% systemdrive% \ recycled \ *. * (empty the Recycle Bin, if you empty the Recycle Bin, which is a fact of no
The useful)
(The file with the extension .bak forcibly remove the current system startup directory) del / f / s / q% windir% \ *. Bak
del / f / s / q% windir% \ prefetch \ *. * (forcibly remove the current system boot prefetch directory where the file
Folder of all files)
rd / s / q% windir% \ temp & md% windir% \ temp (the system temp folder and then create a new temp file delete
Folder)
del / f / q% userprofile% \ cookies \ *. * (delete the current user folder, cookies folder all
file)
del / f / q% userprofile% \ recent \ *. * (delete the current user folder recent folder all files)
del / f / s / q "% userprofile% \ Local Settings \ Temporary Internet Files \ *. *" (to delete the current use
User folder Local Settings \ Temporary Internet Files \ all files)
del / f / s / q "% userprofile% \ Local Settings \ Temp \ *. *" (to delete the current user folder Local
Settings \ Temp \ all files)
del / f / s / q "% userprofile% \ recent \ *. *" (to delete the current user folder recent folder all text
Member)
echo garbage removal system complete! (The screen displays "garbage removal system complete!")
. Echo & pause (display "Press any key to continue ...") Note:. Echo effect is to make the screen
Echo a blank line
     
         
         
         
  More:      
 
- CentOS 6.4 Telecom ADSL dial-up network configuration (Linux)
- About redis in Replication (Database)
- Oracle through the alarm log view and inspect the main library, physical and snapshot standby database (Database)
- gzip, bzip2, xz, tar, zip compression, archive Detailed (Linux)
- Linux system boot process detail (Linux)
- 256 with rich colors decorate your terminal (Linux)
- Binary tree traversal algorithm summary (recursive and non-recursive) (Programming)
- Nginx request processing (Server)
- Use exp exported EXP-00091 error (Database)
- Python, and / or (Programming)
- RHEL 5.7 Yum configure local source [Errno 2] No such file or directory (Linux)
- Oracle Data Guard LOG_ARCHIVE_DEST_n optional attribute parameters (Database)
- Use LKM change the default linux security level (Linux)
- MySQL database master never solve the synchronization method (Database)
- Linux system security Comments (Linux)
- Use Bosh deploy CloudFoundry problems encountered on OpenStack (Server)
- Android components save state series - Activity (Programming)
- MySQL5.7 JSON type using presentation (Database)
- Use Mop monitor stock prices at the Linux command line (Linux)
- Hardware Firewall Basics (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.