Help me find the lost USB flash drive

Source: Internet
Author: User

For many people now, the loss of a USB flash drive is no longer a pity for its own value, but rather a pity for the loss of the above data. Today, on the daily cup of tech, it is interesting to see the little hands and feet to prevent the loss of the USB flash drive. (See http://www.dailycupoftech.com/have-your-lost-usb-drive-ask-for-help)
This method uses the Autorun feature of windows to create an automatic pop-up prompt box on the USB flash disk to indicate the host information of the USB flash disk. In this way, when your friend or a good person finds this USB flash drive, they will contact you in time. Although it is a "anti-gentleman not anti-villain" approach, it is very effective because we often forget it at work colleagues or friends.
The method is simple:
1. Create a VBSCRIPT script popped up in the prompt box.
Example:
========================================================== ======================================
Dim message1
Dim message2
Dim message3
Dim message4
Dim title

Title = "help me, I am lost! "
Message1 = "I'm my master's favorite USB flash drive. My belly is full of his baby! "
Message2 = "now I have lost my master. Have you seen him? That is :"
Message3 = "xxx"
Message4 = "or email him XXX @ xxx"
Message5 = "Thank you very much. During the replay, the minor host will thank you again! "

msgbox message1 & CHR (13) & message2 & CHR (13) & message3 & CHR (13) & message4 & CHR (13) & message5, 266304, title
----------------------------------
I don't know how to compile the vbs script into an EXE file because of Autorun. INF can only run EXE files. Of course, you can use VB to write one, but you may be confused.
2. compile the script
3. create an Autorun. INF file
[Autorun]
icon = Yank. ICO
action = yankchina
label = yankchina
Shell \ open = yankchina

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.