How to create a recycle Bin in the U disk

Source: Internet
Author: User

1. First right-click on the desktop to create a new text document, and then copy and paste the following code into it;

@echo off

MD d:u Disk Recycle Bin 2>nul

For%%i in (%*) do (

move/y%%i e:u Disk Recycling Station 2>nul| | (

xcopy/e/s/k/o/q/y%%i ' EU disk Recycle Bin%%~nxi ' &&rd/q/s%%i

)

)

2. After pasting, save the file as "U disk Recycle Bin. bat" Batch file and place the file in the path "c:documents and Settings username sendto" folder;

3, now select the file you want to delete, the right mouse click to select "Send to--u disk Recycle Bin", you can move these files to the "E:u Disk Recycle Bin" folder, when we mistakenly delete the file, just find the file in the folder that needs to be recovered, right-click, select "Send To"-"U Disk Letter", We'll just have to clear the folder periodically.

Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.