The computer regularly deletes files, how to delete things in a folder on the computer on a regular

Updated on technology 2024-02-09
12 answers
  1. Anonymous users2024-02-05

    Using a batch file will do the trick. Copy the following ** to Notepad Modification (mainly your path) and save the file as vbs, then set this script to run automatically after spending.

    echo off

    clscolor 0f

    mode con: cols=50 lines=10title File Cleanup Assistant

    echo is cleaning up all files in the directory, please wait.

    del f s q f: a (folder path to be deleted) echo cleanup completed!

    pause: type regedit in the runtime, press enter.

    In turn, hkey local machine software, microsoft windows run, create a string value, add your completed batch full path to the content, you can also change the string value name to arp is easier to remember, so that the boot will run automatically.

  2. Anonymous users2024-02-04

    Make a batch file and save it. After that, add it to the task plan and set a time.

  3. Anonymous users2024-02-03

    1. Create a small bat script in Notepad and enter @echo offdel f s q e: temp *E stands for E disk, and temp is the folder to be cleaned under E disk.

    2. After entering the script, save the script in bat format.

    3. After creating the bat file, go to the computer start page and find the attachment.

    4. After opening the attachment, select the Splitting System tool in the add-on, and then click to open the task scheduler.

    5. After entering the task scheduler, click on the task schedule, and then select Create Basic Task.

    6. After creating a basic task, enter the task name.

    7. After entering the name, enter the trigger page, and Li Chi selects every day or another time.

    8. After selecting each day, enter the selection time.

    9. After setting the time, enter the operation and select the startup program.

    10. Click to start the program and select the bat file just now.

    11. After selecting the BAT file, enter the completion page and click Finish at the bottom.

    12. After clicking on the completion, you will see the newly created task in the taskbar, right-click the mouse, and select Run.

  4. Anonymous users2024-02-02

    Summary. It is the cause of system failure maintenance, and it only needs to be disabled, and the operation steps are as follows:

    1. First turn on your computer, then click on the start of the desktop, and click on the options that appear again to enter the control panel.

    2. After entering the interface of the control panel, you can see that there are many options, then find System and Security, and click on the words Find and Solve the Problem below.

    3. At this time, after entering the interface to find and solve the problem, click the option to change the settings in the menu bar.

    4. Finally, after entering the interface of changing settings, click Disable Computer Maintenance, so that there will be no automatic deletion of the software.

    The computer is set to delete the software on a scheduled basis.

    It is the cause of system failure maintenance, you only need to disable it, the operation steps are as follows: 1. First turn on your computer, then click on the start of the desktop, and then click on the options that appear in the control panel again, enter. 2. After entering the interface of the control panel, you can see that there are many options, then find System and Security, and click on the words Find and Solve the Problem below.

    3. At this time, after entering the interface of finding and solving the problem, click the option to change the settings in the menu bar. 4. Finally, after entering the interface to change the settings, click to disable computer maintenance, so that there will be no automatic deletion of the software.

    It's set by someone else.,How to cancel.。

    1.Click the Start menu and enter the Punch Control Panel interface. 2.

    In the Control Panel that opens, click Find and Fix Problems under System & Security, and in the pop-up window, click Change Settings in the left menu. 3.In the pop-up window, change the setting here to Disable for computer maintenance, and then click OK to save the settings.

    Dear, you can do it according to my above operations.

    It's all right to set it up like this, and the software won't be deleted.

    Yes dear. Ok, thanks <>

    If my answer is helpful to you, please give a thumbs up (comment in the lower left corner), look forward to your like, your efforts are very important to me, and your support is also the driving force for my progress. If you feel that I am satisfied with the answer of Fu Lu, you can click on my avatar for one-on-one consultation. Finally, I wish you good health and a good mood!

  5. Anonymous users2024-02-01

    rem: The comment command, which just acts as a comment.

    p: Specify the directory to be deleted.

    d: -14 for documents 14 days ago, -7 for documents 7 days ago.

    m:.Represents all file types, if you want to delete a specific file format, you can specify it (e.g., only delete txt files, you can write *.).txt )

    c: A self-specified command, followed by a delete file command in double quotation marks.

    Command you specify"cmd /c del /q /f @path"Medium:

    c: Indicates that the cmd window is closed after the batch command is executed.

    del: Command to delete a file.

    Q: Quiet mode. When you delete a global wildcard, you don't need to confirm it.

    f: forcibly delete read-only files.

    2.On the pop-up page, select Create Basic Task, enter a name and description. Next.

    3.Create a trigger, choose how often you want to automate this task (e.g., daily, weekly, monthly, one-time, every time you start your computer, every time you log in, and so on), and then click the Next button.

    4.Set the script or program (custom script) that needs to be executed for this task schedule.

    linux:

    Regularly clears tomcat log scripts that are older than 7 days.

    logs_path="/tomcat/tomcat-token/logs"

    find $logs_path -mtime +7 -name "localhost_access_log.*.txt" -exec rm -rf {}

    find $logs_path -mtime +7 -name "catalina.*.log" -exec rm -rf {}

    find $logs_path -mtime +7 -name "manager.*.log" -exec rm -rf {}

    find $logs_path -mtime +7 -name "host-manager.*.log" -exec rm -rf {}

    find $logs_path -mtime +7 -name ""exec rm -rf {}

  6. Anonymous users2024-01-31

    You want to use a combination of Windows scheduled tasks and batch processing.

    echo Note: For example, if you want to delete the C: 123 A folder, please modify the folder path here as needed, and then clear the ** site.

    rd /s /q c:\123\a

    attrib -h -s -r "c:\recycler\s-1-5-21-1343024091-57989841-1417001333-500"

    rd/s/q "c:\recycler\s-1-5-21-1343024091-57989841-1417001333-500"

    Save this document as a batch file, such as Delete Folder. cmd】

    2.Add a scheduled task.

    a.Click Start All Programs Accessories System Tools, and then click Task Scheduling. Double-click the Add Task Schedule icon and double-click it. A Schedule Task dialog box pops up.

    b.Then follow the prompts of the Task Scheduling Wizard and click the Next button. At this time, a lot of software will appear, you can choose a software to plan execution, click the [Browse] button here, and select the batch file directory, such as [C:].

    Delete the folder. cmd】。

    c.Then click the "Next" button to run the plan for a limited start time, of course, the requirement is once a month, then select [Monthly]. In the "next step", you choose when to perform this task, of course, according to your actual needs.

    d.The next step is to enter the password for this scheduled task, which is the windows login password, of course, you don't need to enter it, but it's best to enter this insurance.

    At the set time point of one month, the system will automatically delete the selected folder.

  7. Anonymous users2024-01-30

    Win7 system you try in this order. Start Control Panel Systems & Security Management Tools Task Scheduling.

  8. Anonymous users2024-01-29

    For example, the Scheduled File Deletion Tool is a convenient and easy-to-use scheduled automatic deletion tool for files. The software is easy to use, can help users delete the required files at a specified time, and supports two types of deletion: creation date and modification date.

  9. Anonymous users2024-01-28

    Share common computer tips, computer knowledge, computer skills, computer common problem solutions, etc., what I shared today is, teach you win10 to delete temporary files in the computer, automatic deletion of temporary files, thank you fans for your continued support.

  10. Anonymous users2024-01-27

    You can use the scheduled task to open the control panel - schedule a task - operation command and enter rd s q x: y (x is the partition where the file is located, y is the name of the folder) The running time is set by yourself, and you can select OK.

  11. Anonymous users2024-01-26

    It's simple, no tools required. Write a batch file with the command to delete the file. Then set a schedule to execute the batch file.

  12. Anonymous users2024-01-25

    360 Guardian now has this feature, you look for it.

Related questions
9 answers2024-02-09

This problem is not operated in linux, you delete linux, how to use your machine without a system? >>>More

17 answers2024-02-09

with the registry. windows registry editor version

autoshareserver"=dword:00000000autosharewks"=dword:00000000 Create a new notepad, copy the above content, and save it as *reg format will do the trick. >>>More

4 answers2024-02-09

Pro: When you delete a backup in Windows Server Backup, you may encounter various errors. Here are some common errors and workarounds:1 >>>More

6 answers2024-02-09

Open Notepad Enter ** below and save as a file with the suffix bat or cmd Named shut down ** for @echo off shut down -s -t 60 This command indicates automatic shutdown after 60 seconds Enter controlschedtasks in Run Start the task scheduling wizard Click Browse Select the shutdown created above Set the frequency of the task to Daily Start time when you want to shut down Finally, enter the user password OK and you're good to go!

6 answers2024-02-09

It's probably because when you install some software, there is a Google prompt that it is installed by default, and you didn't cancel it, so you installed Google's plugin. This plugin is maliciously attacked. >>>More