Jump to content

renaming Start Menu shortcuts...


Recommended Posts

I've tried to use the original script posted in this thread, following the syntax and making a few customizations. The goal of the customizations is to create start menu folders that mirror the category names of my WPI installs (that works fine) and then organize the folders and files created by installers into those category folders (which doesn't work at all).

Here is my script. Any ideas why this won't work? Thanks in advance!

Jason

set AUStart=%AllUsersProfile%\Start Menu\Programs
set UserStart=%UserProfile%\Start Menu\Programs
set UserQL=%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch
set AUDesk=%AllUsersProfile%\Desktop
set UserDesk=%UserProfile%\Desktop

REM :: Make New Folders ::
MD "%AUStart%\Art Software"
MD "%AUStart%\Gaming Utilities"
MD "%AUStart%\Internet"
MD "%AUStart%\Media Editing & Ripping"
MD "%AUStart%\Media Playback"
MD "%AUStart%\Security"
MD "%AUStart%\Utilities"

REM :: Move/Copy Folders ::

REM :: ART SOFTWARE ::
MOVE "%AUStart%\@icon Sushi\" "%AUStart%\Art Software\Icon Sushi\"
MOVE "%AUStart%\Inkscape\" "%AUStart%\Art Software\Inkscape\"
MOVE "%UserStart%\Blender Foundation\" "%AUStart%\Art Software\Blender3D\"

REM :: GAMING UTILITIES ::

REM :: INTERNET ::
MOVE "%AUStart%\Mozilla Firefox" "%AUStart%\Internet\Firefox"
MOVE "%AUStart%\Flashpeak BlazeFTP\" "%AUStart%\Internet\BlazeFTP"
MOVE "%AUStart%\FileZilla\" "%AUStart%\Internet\FileZilla FTP"

REM :: MEDIA PLAYBACK ::
MOVE "%AUStart%\Media Portal\" "%AUStart%\Media Playback\Media Portal\"
MOVE "%UserStart%\Winamp\" "%AUStart%\Media Playback\Winamp\"
MOVE "%UserStart%\DBPowerAmp\" "%AUStart%\Media Playback\DBPowerAmp Player\"

REM :: MEDIA EDITING & RIPPING ::
MOVE "%AUStart%\D.I.K.O\" "%AUStart%\Media Editing & Ripping\DIKO\"
MOVE "%AUStart%\DVD Shrink\" "%AUStart%\Media Editing & Ripping\DVD Shrink\"
MOVE "%AUStart%\CDBurnerXP 3\" "%AUStart%\Media Editing & Ripping\CDBurnerXP\"
MOVE "%AUStart%\Nero\" "%AUStart%\Media Editing & Ripping\Nero\"
MOVE "%UserStart%\DBPowerAmp Music Converter\" "%AUStart%\Media Editing & Ripping\DBPowerAmp Music Converter\"
MOVE "%UserStart%\DVD Decrypter\" "%AUStart%\Media Editing & Ripping\DVD Decrypter\"

REM :: SECURITY ::
MOVE "%AUStart%\Spybot - Search & Destroy\" "%AUStart%\Security\Spybot\"
MOVE "%AUStart%\Lavasoft Ad-Aware SE Personal\" "%AUStart%\Security\Ad-Aware\"
MOVE "%AUStart%\SpywareBlaster\" "%AUStart%\Security\SpywareBlaster\"
MOVE "%AUStart%\Sygate Personal Firewall\" "%AUStart%\Security\Sygate Firewall\"
MOVE "%AUStart%\Zone Labs\" "%AUStart%\Security\ZoneAlarm Firewall\"
MOVE "%UserStart%\Kerio\" "%AUStart%\Security\Kerio Firewall\"

REM :: UTILITIES ::
COPY "%AUStart%\Administrative Tools\*.*" "%AUStart%\Utilities\Administrative Tools\"
MOVE "%AUStart%\Accessories\System Tools\*" "%AUStart%\Utilities\System Tools\"
MOVE "%AUStart%\Desktop Sidebar\" "%AUStart%\Utilities\Desktop Sidebar\"
MOVE "%UserStart%\RivaTuner v2.0 RC 15.6\" "%AUStart%\Utilities\RivaTuner\"
MOVE "%UserStart%\7-Zip\" "%AUStart%\Utilities\7-Zip\"
MOVE "%UserStart%\XPize\" "%AUStart%\Utilities\XPize\"

REM :: Move/Copy Shortcuts ::

REM :: ART SOFTWARE SHORTCUTS ::
REM MOVE /Y "%AUStart%\Adobe ImageReady CS.lnk" "%AUStart%\Art Software\"
REM MOVE /Y "%AUStart%\Adobe Help Center.lnk" "%AUStart%\Art Software\"
REM MOVE /Y "%AUStart%\Adobe Bridge.lnk" "%AUStart%\Art Software\"
REM MOVE /Y "%AUStart%\Paint.Net.lnk" "%AUStart%\Art Software\"

REM :: GAMING UTILITIES SHORTCUTS ::

REM :: INTERNET SHORTCUTS ::
MOVE /Y "%UserStart%\Internet Explorer.lnk" "%AUStart%\Internet\Internet Explorer.lnk"

REM :: MEDIA EDITING & RIPPING SHORTCUTS ::
REM MOVE /Y "%AUStart%\Audacity.lnk" "%AUStart%\Media Editing & Ripping\"

REM :: MEDIA PLAYBACK SHORTCUTS ::
REM MOVE /Y "%UserStart%\Windows Media Player.lnk" "%AUStart%\Media Playback\"

REM :: SECURITY SHORTCUTS ::

REM :: UTILITIES SHORTCUTS ::
MOVE /Y "%AUStart%\Adobe Reader 7.0.2.lnk" "%AUStart%\Utilities\Adobe Reader 7.0.2.lnk"


REM :: Cleanup Desktop Icons ::
DEL "%AUDesk%\*.*"
DEL "%UserDesk%\*.*"
DEL "%systemroot%\*.bmp"
DEL "%systemroot%\system32\dllcache\*.*"
DEL "%systemroot%\system32\*.scr"

DEL "%AUStart%\Set Program Access and Defaults.lnk"
DEL "%AUStart%\Windows Catalog.lnk"
REGEDIT /S "%systemdrive%\install\regtweaks.reg"

Link to comment
Share on other sites


Jason, you have a \ after most of the folders in your batch file (example)

MOVE "%AUStart%\Inkscape\" "%AUStart%\Art Software\Inkscape\"

Those final backslashes after Inkscape tell it to look inside the folder instead of at the folder. If you remove them then it will move the Inkscape folder. Also, you only need to include the foldername a second time if you are renaming it.

This example should be written

MOVE "%AUStart%\Inkscape" "%AUStart%\Art Software\"

Just change all the instances of this and make sure that you're moving it from the right folder (%AUStart% or %UserStart%).

On a side-note, I keep meaning to try Inkscape. Has it worked well for you?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.


×
×
  • Create New...