Change my documents-favorites-iecache location-Batch Processing

Source: Internet
Author: User
There are a lot of methods and software for changing the location of my documents-favorites-iecache on the Internet

I just combined them and wrote them in batches,
1. It is for your convenience
2. It makes Dongdong more transparent for mutual communication and learning.
Quote:

Original Batch Processing code:
@ Echo off
Color 0a
Set prog = change my document-favorites-iecache location
Set L1 = ╭ ── ─ accept
Set L2 = ── %prog % ── done
Set l3 = │ ── ─ ╯ │
Set L4 = │ ========================================== ============ │
Set L5 = │ for Internet users only
Set L6 = ╰ ── ─ begin
Set mypath = % Cd:/=/%
: Start
CLS
Title % prog %
Echo.
Echo % L1 %
Echo % L2 %
Echo % L3 %
Echo │
Echo │ [1] Change my document location │
Echo │
Echo │ [2] changing IE favorites location │
Echo │
Echo │ [3] changing the iecache position │
Echo │
Echo │ [Q] Quit installation │
Echo │
Echo % l4 %
Echo % l5 %
Echo % L6 %
Echo was too busy to handle too many issues, too many issues were reported.
Echo prompt: copy the program to the drive letter or directory where you want to change the location before running.
Echo suggestion: copy the program to the drive letter root you want to change the location to run
Echo was too busy to handle too many issues, too many issues were reported.

Set choice =
Set/P choice = select the operation to be performed (1/2/3/q), and press Enter:
If % choice = choice Goto: Start
If not '% choice %' = ''set choice = % choice :~ 0, 1%
If/I '% choice %' = '1' Goto: mypersonal
If/I '% choice %' = '2' Goto: myfavorites
If/I '% choice %' = '2' Goto: myiecache
If/I '% choice %' = 'q' exit
Goto: Start

: Mypersonal
Mkdir % mypath %/My Documents
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "personal"/T reg_expand_sz/D "% mypath % My document"/F> nul
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "my pictures"/T reg_expand_sz/D "% mypath % My document/pictures" /f> NUL
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "My music"/T reg_expand_sz/D "% mypath % My Documents/music" /f> NUL
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "my video"/T reg_expand_sz/D "% mypath % My Documents/video" /f> NUL
Goto: Success

: Myfavorites
Mkdir % mypath % ie favorites/favorites
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "favorites"/T reg_expand_sz/D "% mypath % ie favorites/favorites"/F> NUL
Goto: Success

: Myiecache
Mkdir % mypath % iecache/Temporary Internet Files
Reg Add "hkcu/software/Microsoft/Windows/CurrentVersion/Explorer/User Shell Folders"/V "cache"/T reg_expand_sz/D "% mypath % iecache/Temporary Internet Files "/ f> NUL
Goto: Success

: Success
Title % prog % _ OK
Set resdest =
CLS
Echo was too busy to handle too many issues, too many issues were reported.
Echo.
Echo.
Echo prompt: the operation you selected has been completed
Echo.
Echo takes effect after the machine is restarted...
Echo.
Echo was too busy to handle too many issues, too many issues were reported.
Set/P resdest = ([start again, press 0] [press any key to exit])
Echo.
If/I "% resdest %" = "0" Goto: Start
Exit


Batch download
Http://linux.jgxx.com/cgi-bin/wsqbbs/wsqbbs.pl? Cx = 3 & HF = 1 & hfbm = 63318798377v179

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.