To create a key to run a U disk multiple programs "shortcut"

Source: Internet
Author: User

Many friends like to put some commonly used software, files copied to the U disk to carry the use. However, in each use to open a few layers of folders to open the program, rather cumbersome. If you can set shortcuts for these programs is much simpler, but Windows shortcuts are obviously not good, because the disk of the hard drive will change with the computer. To this end for you to introduce a special "shortcut", not only by the effect of the letter, but also through a shortcut to run a U disk in multiple programs.

Open Notepad and edit the following:

Start "" Tool Network FoxmailFoxmail.EXE "

Save to the root directory of the U disk, the file name is "e-mail. bat" and the Save type is "All Files (*.*)". This allows you to run the Foxmail program directly, just as you would a shortcut to Windows, by double-clicking "e-mail. bat". If you need to use a shortcut to open multiple programs at the same time, edit the contents to read:

Start "" Tool network FoxmailFoxmail.EXE

Start "" Tool network QQQQ.exe

Start "" File material graphic

Start "" Tool Entertainment WinampWinamp.exe file Mp3mp3 list. m3u

Start "" Explorer. exe/e, File material graphics

Save as Run common. bat, double-click Run Common. bat to run both Foxmail and QQ programs, open the Graphics folder, play the MP3 list with Winamp, and open the Graphics folder with Resource Manager. The format of this command is:

start+ space + "" + half-width Space + program, file or folder path

If a program or folder path contains spaces, the entire path must be enclosed in half-width double quotes or unrecognized. If the file or folder is followed by the default program, of course, if you want to run with a parameter or use your own program to open the file, or you can add the appropriate program path and parameters before the file path, such as the last line of the example in the command EXPLORER.EXE is the specified open program, parameter "/e, is opened with the resource manager.

This is where the path to a program, file, or folder uses a relative path that does not indicate a letter, so that the system automatically looks in the current letter and Windows installation directory, and is not afraid of changing the disk character. Of course Explorer.exe can not add detailed path, after all, not every computer Windows are installed in c:windows. The DOS window disappears automatically after the program runs, and if it doesn't disappear please check and delete the extra blank lines in the batch file.

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.