Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Unattended clean up fo the Start Menu

Featured Replies

Hi Folks :hello:

I have made a very nice Windows install which has taken me about a month so far lol I have about 60 apps instaled some via a batch file and some intergrated into the windows install. :thumbup

I have a clean and tweak file run after the installing of these so that my desktop isnt a mess with loads of shortcuts, the only problem I have is that the Start Menu is such a mess its insane. :wacko:

I have tried 2 differnet ways of cleaning this so far and none have worked.

Move the shortcut to another folder and then Del the folder which is not needed, didnt work.

Copy the shortcut to another folder and then delete the folder also didnt work. :no:

Any ideas on how else I could do this or even a basic command which would do this please??!!


What exactly doesn't work? copying? deleting? both?

Why not posting your code (both versions) so we can criticize it and laugh look what's wrong with it?

Sorry for the bad joke ;) .

  • Author

Joke lol yeh Im laughing and pulling my hair out lol

they both didnt work.

the basic code i used in the batch file well were basic dos commands such as MOVE, DEL, XCOPY I kinda deleted what I wrote out as it didnt work and like i said i was pulling my hair out.

what would you suggest as you are so mighty :huh: lol

xcopy "%ALLUSERSPROFILE%\Menu D‚marrer\Programmes\7-Zip" "%ALLUSERSPROFILE%\Menu D‚marrer\Programmes\Compression" /H /I /Y

works very fine here, although not tested during setup nor RunOnceEx.

Would it help you keep your hair on?

  • Author

hmm ok will try it is the same as I did before just didnt add the /H /I, what are these switches for anyhow so that I know for future referance ?

Oh and the hair lol well am losing it anyway :blushing:

thx :D

Sweet just gave it a try and this is what I have now to sort te start menu the way I want :P

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\nlite\nlite.lnk"

"%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\nlite"

Thanks very much for your help :thumbup

I don't want to abuse my power so I would just suggest:

- /? on any command for comprehensive explanations about its usage

- Petrol Hahn for your hair!

;):P:D

Btw, when you'll have your script finished and working, why not contributing it here so everybody can benefit from it?

Cheers

  • Author

hahn what for my hair lol

never heard of it ................

Yeh will add when complete, have the install batch itself is miles long lol then the clean and reg tweak lol

will add the lot when done making changes now for the start menu :)

thx again

Im terrible "coding" for batch files, but I can post a section where I cleanup some of the stuff from Start Menu.

move "%userprofile%\Start Menu\Programs\CCleaner" "%userprofile%\Start Menu\Programs\Aplications"

move "%userprofile%\Start Menu\Programs\*Adobe*.lnk" "%userprofile%\Start Menu\Programs\Aplications"

move "%userprofile%\Start Menu\Programs\*Ad-aware*" "%userprofile%\Start Menu\Programs\Internet Tools"
move "%allusersprofile%\Start Menu\Programs\*Ad-aware*" "%userprofile%\Start Menu\Programs\Internet Tools"

move "%userprofile%\Start Menu\Programs\Spybot - Search & Destroy\Spybot - Search & Destroy.lnk" "%userprofile%\Start Menu\Programs\Internet Tools"
move "%allusersprofile%\Start Menu\Programs\Spybot - Search & Destroy\Spybot - Search & Destroy.lnk" "%userprofile%\Start Menu\Programs\Internet Tools"

move "%UserProfile%\Start Menu\Programs\Accessories\Windows Explorer.lnk" "%uSERpROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch"


del /S /Q "%UserProfile%\Start Menu\Programs\Startup\Adobe Reader Speed Launcher.lnk"

del /S /Q "%UserProfile%\Desktop\Adobe Reader 7.0.lnk"

del /S /Q "%UserProfile%\Desktop\*Spybot*.lnk"

del /S /Q "%UserProfile%\Desktop\*Ad-aware*.lnk"

del /S /Q "%UserProfile%\Desktop\*CCleaner*.lnk"

del /S /Q "%UserProfile%\Desktop\*Mozilla*.lnk"
del /S /Q "%allusersProfile%\Desktop\*Mozilla*.lnk"

del /S /Q "%userprofile%\Start Menu\Programs\Aplications\CCleaner Homepage.url"

del /S /Q "%userprofile%\Start Menu\Programs\Aplications\Uninstall CCleaner.lnk"

del /S /Q "%uSERpROFILE%\Application Data\Microsoft\Internet Explorer\Quick Launch\*Spybot*.lnk"

del /S /Q "%allusersprofile%\Start Menu\Programs\Spybot - Search & Destroy\Uninstall Spybot - Search & Destroy.lnk

del /S /Q "%userprofile%\Start Menu\Programs\Internet Tools\Ad-aware SE Manual.lnk"
del /S /Q "%allusersprofile%\Start Menu\Programs\Internet Tools\Ad-aware SE Manual.lnk"

Now you decide what to do with it.

P.S: I know it's a mess, but it gets the thing done! :D

Here try a VBS script to clean up your start menu

Remove the ' from 'StartMenuFiles = Array() and add you filename

StartMenuFiles = Array("SomeFile.Ink", "AnotherFile.Ink")

Remove the ' from 'StartMenuFolder = Array() and add you filename

StartMenuFolder = Array("SomeFolder", "AnotherFolder")

Const  PROGRAMS = &H2&
Dim Act, Fso, Ext, Folder, FolderItem, StartMenuFiles, StartMenuFolder, Shell, StrFldr
Set Fso = CreateObject("Scripting.FileSystemObject")
Set Act = CreateObject("Wscript.Shell")
'''' PLACE THE FILES YOU WANT TO MOVE HERE
'StartMenuFiles = Array()
'StartMenuFolder = Array()

Set Shell = CreateObject("Shell.Application")
Set Folder = Shell.Namespace(PROGRAMS)
Set FolderItem = Folder.Self
Wscript.Echo FolderItem.Path

Set StrFldr = Folder.Items
For Each objItem in StrFldr
Wscript.Echo objItem.Name
Wscript.Echo objItem.Path
'''' ARRAY FOR FILE TO BE MOVE COPY OR DELETED
For Each strSMFiles In StartMenuFiles
If Fso.FileExists(strSMFiles) Then
Fso.CopyFile(strSMFiles),("PLACE_NEW_LOCATION_HERE")
Fso.DeleteFile(strSMFiles)
End If
Next
'''' ARRAY FOR FILE TO BE MOVE COPY OR DELETED
For Each strSMFolder In StartMenuFolder
If Fso.FileExists(strSMFolder) Then
Fso.CopyFolder(strSMFolder),("PLACE_NEW_LOCATION_HERE")
Fso.DeleteFile(strSMFolder)
End If
Next
Next

  • Author

sweet a few options now :)

I didnt even think of using * to shorten the link/folder names lol wicked

well here is what I have so far, is complete with all the shortcuts in my menu am just creating an iso now to test it.

REM Copying shortcuts into clean folders and deleting orig

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\DVD Shrink\DVD Shrink 3.2.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\DVD" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\DVD Shrink"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\dvdSanta\dvdSanta.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\DVD" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\dvdSanta"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\DU Meter\DU Meter.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Network Utilities" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\DU Meter"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Cyberlink PowerDVD\Cyberlink PowerDVD.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\DVD" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Cyberlink PowerDVD"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\DVD Shrink\DVD Shrink.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\DVD" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\DVD Shrink"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Nero\Nero Smartstart.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\CD-R" /H /I /Y

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Nero\Nero 6 Ultra Edition\Nero*.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\CD-R" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Nero"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\eMule\eMule.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Internet Utilites" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\eMule"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\FolderSizes\FolderSizes.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\FolderSizes"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Hitman Pro\Hitman Pro.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Security" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Hitman Pro"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Skype\Skype.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Internet Utilites" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Skype"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Spyware Doctor\Spyware Doctor.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Security" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Spyware Doctor"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Utilities\Crap Cleaner.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Utilities"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\RegSupreme\RegSupreme.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\RegSupreme"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Registry Mechanic\Registry Mechanic.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Registry Mechanic"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Recover My Files\Recover My Files.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\Recover My Files"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\TweakNow PowerPack 2006\TweakNow*.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\TweakNow PowerPack 2006"

xcopy "%USERPROFILE%\Start Menu\Programs\Defragmenter Pro Plus\Defragmenter Pro Plus.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\System Tools" /H /I /Y

RD /S /Q "%UserProfile%\Start Menu\Programs\Defragmenter Pro Plus"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\Lavasoft Ad-Aware SE Personal\*Lavasoft*.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\Security" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\*Lavasoft*"

xcopy "%ALLUSERSPROFILE%\Start Menu\Programs\µTorrent\µTorrent.lnk" "%ALLUSERSPROFILE%\Start MEnu\Programs\Accessories\Internet Utilites" /H /I /Y

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\µTorrent"

Will post the lot when done and all works fine :)

Don't bother with xcopy, for single files

PUSHD %ALLUSERSPROFILE%\Start Menu\Programs
MOVE "Application Folder\Shortcut.lnk" "New Folder" &&RD /S/Q "Application Folder"
etc.
POPD

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.