Jump to content

Removing unwanted links from Start > All Programs


Recommended Posts


easy,

look nero installation

isthead of your silent installation

run a cmq/batch file like this

@echo off

start /wait setup.exe

run silent installation

del "%AllUsersProfile%\Start Menu\Programs\Nero\Nero 6 Ultra Edition\Nero Wave Editor.lnk"

remove a shortcut in all user menu

del "%AllUsersProfile%\Start Menu\Programs\Nero\Nero 6 Ultra Edition\Nero Wave Editor.lnk"

remove a shortcut in all user menu

rd /s /q "%AllUsersProfile%\Start Menu\Programs\Nero\Nero Toolkit"

remove a group in all user menu

if your program installs in your menu, not in all user menu

use %Profile% instead of %AllUsersProfile%

B) B)

Link to comment
Share on other sites

%Profile% is not a Windows variable. The variable Bevone meant was %UserProfile%, which expands to something like "C:\Documents and Settings\Bevone".

You can see the other variables that Windows set by opening a command window and typing "set."

The rest of what he said is correct; the Start Menu is stored in the individual user profiles and in the shared profile under the Start Menu folder. Links from both places are in the Start Menu of any logged on user. You can edit anything in the Start Menu by simply adding/deleting files from these folders.

Link to comment
Share on other sites

  • 2 weeks later...

You could try something like this instead

  • craplinx.cmd

::removes pointless shortcuts from Programs subdirectories

@echo off&setlocal enableextensions
for /d %%a in ("%UserProfile%\..\*") do if exist "%%a\Start Menu\Programs" call :doit "%%a\Start Menu\Programs"
endlocal&goto :eof

:doit
pushd %1
for /f "delims=" %%b in ('dir /b/s/a "*.lnk"^|findstr/il "uninstall readme help"^2^>nul') do if errorlevel 0 del /f/a/q "%%b"
popd
goto :eof

Link to comment
Share on other sites

  • 2 weeks later...

This is how I do it (extremely easy)

After al programs are installed, I remove all the shortcurts I don't want, catagorize some others until I have the perfect Startmenu (I make sure this is the All Users menu)

Then I create a RAR SFX of the all users starmenu,

in my CLEANUP.CMD I delete the contents of all users startmenu, the SFX will extract after the cleanup.

Works great. easy to modify..

Link to comment
Share on other sites

  • 1 month later...

Ive been cleaning up my start menu using this method the only problems I had where alcohol as the .lnk file had the % symbol in it fixed it by using alcoho~1.lnk but am having a problem moving the 7-zip link to another folder in the start menu. I'm pretty sure the problem is being caused by the - symbol but have not been able to find a workaround I'm sure its something easy like putting a \ in or something. Please help...... :blink:

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...