October 9, 200421 yr 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
October 9, 200421 yr Author 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
October 9, 200421 yr 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.
October 9, 200421 yr 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
October 10, 200421 yr 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.
October 10, 200421 yr Author Thanks guys, i will look tommorrow, it's late over here, i let you know more tommorrow..Thanks alots for your help Irving
October 10, 200421 yr 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
October 10, 200421 yr 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?
October 11, 200421 yr Author 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, 200421 yr by Alpheratz13
October 11, 200421 yr 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.
October 12, 200421 yr Author 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
October 12, 200421 yr %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)
Create an account or sign in to comment