Alpheratz13 Posted October 9, 2004 Posted October 9, 2004 Evening,I have already ask this question, but it's seems i didn't give right topic.My question how i delete 1 or more links from the lauch bar (quick Lauch).Thanks for your replay Irving
Alpheratz13 Posted October 9, 2004 Author Posted October 9, 2004 Hmmmm,I ask it fews times in differents posts, but no answer, is it so hard to know the commande to delete an link from the Quivk Lauch???Thanks anywayIrving
CoffeeFiend Posted October 9, 2004 Posted October 9, 2004 Look into:C:\Documents and Settings\whatever_user_name\Application Data\Microsoft\Internet Explorer\Quick Launchas for deleting them, a good old DEL command works nicely.
Zilevoli Posted October 9, 2004 Posted October 9, 2004 First you have to know the path in which you want to delete files from. See the batch variable DEL_PATHSecond you need to know the name of the file. In my example I want to delete the quick launch link to PSPad. Its link name happens to be PSPad.lnk. See batch variable DEL_PROG** NOTE **If you wish to remove all links do not set DEL_PROG to *.* ... instead set it to *.lnk ... *.* will produce a Y/N prompt window (defeats purpose of unattended installing) cause of the Show Desktop quick launch.** END NOTE **Third combine the two within Quotes as seen below the batch comment DELETE LINE@ECHO OFF::DEL_PATH points to the directory where you want to delete filesSET DEL_PATH=C:\Documents and Settings\Schrys\Application Data\Microsoft\Internet Explorer\Quick Launch\::DEL_PROG defines what the files name is:: in this example I want to remove the PSPad Quick Lanuch link SET DEL_PROG=PSPad.lnkECHO Deleleting file %DEL_PROG%ECHO From the path %DEL_PATH%::DELETE LINEDEL "%DEL_PATH%%DEL_PROG%"Hope this is what you were looking for
CoffeeFiend Posted October 10, 2004 Posted October 10, 2004 Or you could simply do: Del /y "%AppData%\Microsoft\Internet Explorer\Quick Launch\PSPad.lnk"Works just as well... Preferences I guess. I'd rather not use variables myself.
Alpheratz13 Posted October 10, 2004 Author Posted October 10, 2004 Thanks guys, i will look tommorrow, it's late over here, i let you know more tommorrow..Thanks alots for your help Irving
Jito463 Posted October 10, 2004 Posted October 10, 2004 Or you could simply do: Del /y "%AppData%\Microsoft\Internet Explorer\Quick Launch\PSPad.lnk"I'd rather not use variables myself.Sorry, I couldn't resist
CoffeeFiend Posted October 10, 2004 Posted October 10, 2004 That's not the point... What I meant was creating 2 user variables to delete a simple link, which can be neatly done in a single line of code, nothing to do with system created variables.I mean, is it supposed to be even remotely funny or an I missing something?
Jito463 Posted October 10, 2004 Posted October 10, 2004 Meh, it just struck me as funny. No harm meant.
Alpheratz13 Posted October 11, 2004 Author Posted October 11, 2004 (edited) Thanks guys for your help.Here is what i did and works great@Jito463Del /y "%AppData%\Microsoft\Internet Explorer\Quick Launch\PSPad.lnk"Didn't works for me, btw del /y don't exist anymore i have ask del /? and not /y, so i take /aI used this way, DEL /a "C:\Documents and Settings\Irving\Application Data\Microsoft\Internet Explorer\Quick Launch\Tag&Rename.lnk"That's all Thanks againIrving Edited October 11, 2004 by Alpheratz13
Jito463 Posted October 11, 2004 Posted October 11, 2004 A) I was quoting Crahak. That wasn't my postB) I use /Q.
CoffeeFiend Posted October 11, 2004 Posted October 11, 2004 And it was from (bad) memory. DEL /Q "%AppDate%\Microsoft\Internet Explorer\Quick Launch\Tag&Rename.lnk"Would work, no matter what user name and looks cleaner to me. I bet if you try it, it'll work.
Alpheratz13 Posted October 12, 2004 Author Posted October 12, 2004 Morning,@crahak Thanks for your help but it's dont works You think is right commande as %AppData% ??It's work on your Unattend install?In the mean time i use this :DEL /a "C:\Documents and Settings\Irving\Application Data\Microsoft\Internet Explorer\Quick Launch\Tag&Rename.lnk"That's works fine Anyway, i am gladfull for yours help and thanks Jito463.You two Irving
CoffeeFiend Posted October 12, 2004 Posted October 12, 2004 %AppData% (and many others) all work fine. open a dos window and type "set" (w/o quotes, and press enter). You'll see what it refers to (and many others)
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