BoardBabe Posted September 11, 2005 Share Posted September 11, 2005 How do one remove the shortcut to Windows Catalog from (top of) start menu?Im running Norwegian win XP and the following cmd @ cleanup did not remove it .del /s /q "%AllusersProfile%\Start-meny\Windows Catalog.lnk" Link to comment Share on other sites More sharing options...
Yzöwl Posted September 11, 2005 Share Posted September 11, 2005 Why are you using the /s switch, try this insteaddel /f /q "%AllUsersProfile%\Start Menu\Windows Catalog.lnk" Link to comment Share on other sites More sharing options...
BoardBabe Posted September 11, 2005 Author Share Posted September 11, 2005 Uh I don't know lol. i do /s on all my del commands. Link to comment Share on other sites More sharing options...
Cartoonite Posted September 12, 2005 Share Posted September 12, 2005 Did the posted command work? Link to comment Share on other sites More sharing options...
BoardBabe Posted September 12, 2005 Author Share Posted September 12, 2005 I'm not sure. I have to reformat to test If there is no way to get the original shortcut back. Cause i manually deleted it. Link to comment Share on other sites More sharing options...
Cartoonite Posted September 12, 2005 Share Posted September 12, 2005 I'm not sure. I have to reformat to test If there is no way to get the original shortcut back. Cause i manually deleted it.Heh. Fair enough. If you're still having trouble, can try this code in a cmd or bat script. It's what I use and works perfectly.ECHO Deleting Useless Shortcuts...DEL "%allusersprofile%\Start Menu\Windows Catalog.lnk"DEL "%allusersprofile%\Start Menu\Set Program Access and Defaults.lnk" Link to comment Share on other sites More sharing options...
Yzöwl Posted September 12, 2005 Share Posted September 12, 2005 Cartoonite's, latest example is technically the most correct.The /S switch instructs to delete from all sub-directories too.The /F switch forces deletion of read-only files, which this file shouldn't beThe /Q switch is really only needed on global wildcards in order to prevent 'are you sure…' type messages.Just in case this is of any interest to anybody, here is a list of shortcuts----- Windows XP (sp2) Profile Directory Shortcuts (English) -----"%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk""%AllUsersProfile%\Start Menu\Windows Catalog.lnk""%AllUsersProfile%\Start Menu\Windows Update.lnk""%AllUsersProfile%\Start Menu\Programs\MSN.lnk""%AllUsersProfile%\Start Menu\Programs\Windows Messenger.lnk""%AllUsersProfile%\Start Menu\Programs\Windows Movie Maker.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Calculator.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Paint.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\WordPad.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Accessibility\Accessibility Wizard.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\HyperTerminal.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\Network Connections.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\Network Setup Wizard.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\New Connection Wizard.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\Remote Desktop Connection.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Communications\Wireless Network Setup Wizard.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Entertainment\Sound Recorder.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\Entertainment\Volume Control.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Backup.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Character Map.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Disk Cleanup.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Disk Defragmenter.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Files and Settings Transfer Wizard.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Scheduled Tasks.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\Security Center.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\System Information.lnk""%AllUsersProfile%\Start Menu\Programs\Accessories\System Tools\System Restore.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Component Services.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Computer Management.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Data Sources (ODBC).lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Event Viewer.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Local Security Policy.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Performance.lnk""%AllUsersProfile%\Start Menu\Programs\Administrative Tools\Services.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Freecell.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Hearts.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Internet Backgammon.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Internet Checkers.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Internet Hearts.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Internet Reversi.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Internet Spades.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Minesweeper.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Pinball.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Solitaire.lnk""%AllUsersProfile%\Start Menu\Programs\Games\Spider Solitaire.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Remote Assistance.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Windows Media Player.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Command Prompt.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Notepad.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Program Compatibility Wizard.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Synchronize.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Tour Windows XP.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Windows Explorer.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Accessibility\Magnifier.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Accessibility\Narrator.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Accessibility\On-Screen Keyboard.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Accessibility\Utility Manager.lnk""%AllUsersProfile%\..\Default User\Start Menu\Programs\Accessories\Entertainment\Windows Media Player.lnk""%UserProfile%\Application Data\Microsoft\Internet Explorer\Quick Launch\Launch Internet Explorer Browser.lnk""%UserProfile%\My Documents\My Music\Sample Music.lnk""%UserProfile%\My Documents\My Pictures\Sample Pictures.lnk""%UserProfile%\Start Menu\Programs\Internet Explorer.lnk""%UserProfile%\Start Menu\Programs\Outlook Express.lnk""%UserProfile%\Start Menu\Programs\Remote Assistance.lnk""%UserProfile%\Start Menu\Programs\Windows Media Player.lnk""%UserProfile%\Start Menu\Programs\Accessories\Address Book.lnk""%UserProfile%\Start Menu\Programs\Accessories\Command Prompt.lnk""%UserProfile%\Start Menu\Programs\Accessories\Notepad.lnk""%UserProfile%\Start Menu\Programs\Accessories\Program Compatibility Wizard.lnk""%UserProfile%\Start Menu\Programs\Accessories\Synchronize.lnk""%UserProfile%\Start Menu\Programs\Accessories\Tour Windows XP.lnk""%UserProfile%\Start Menu\Programs\Accessories\Windows Explorer.lnk""%UserProfile%\Start Menu\Programs\Accessories\Accessibility\Magnifier.lnk""%UserProfile%\Start Menu\Programs\Accessories\Accessibility\Narrator.lnk""%UserProfile%\Start Menu\Programs\Accessories\Accessibility\On-Screen Keyboard.lnk""%UserProfile%\Start Menu\Programs\Accessories\Accessibility\Utility Manager.lnk""%UserProfile%\Start Menu\Programs\Accessories\Entertainment\Windows Media Player.lnk" Link to comment Share on other sites More sharing options...
BoardBabe Posted September 12, 2005 Author Share Posted September 12, 2005 @Yzöwl: I'm sorry, but I don't see how Cartoonite's latest example differs from my first? Link to comment Share on other sites More sharing options...
Yzöwl Posted September 12, 2005 Share Posted September 12, 2005 I didn't say that your command wouldn't work BoardBabe just that it was technically incorrect.Now one thing that could feasibly happen is:If the del commands are all using the /s switch is that once it has found for example, C:\MyDir\MyFile.ext it will then continue searching through all subdirectories of C:\MyDir looking for files called MyFile.ext before moving onto the next command, you could end up with the scenario of commands not completing before the next one starts or even memory errors Link to comment Share on other sites More sharing options...
BoardBabe Posted September 12, 2005 Author Share Posted September 12, 2005 K, got it. thnx Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now