Page 1 of 1 1
Topic Options
#16841 - 2002-01-29 06:29 PM quick launch
nephilim Offline
Fresh Scripter

Registered: 2001-12-07
Posts: 17
my aim is to remove the quick launch bar on Win98 workstations at logon. I'm employing Kix2001 and the machines all use user profiles. I've found the target folder here:

c:\windows\profiles\@UserID\application data\internet explorer\quick launch

my issue is that my script- contained below-doesn't seem to delete this folder and thus remove the quick launch bar.

the script is:

if exist ("c:\windows\profiles\@UserID\application data\internet explorer\quick launch")
del "c:\windows\profiles\@UserID\application data\internet explorer\quick launch"
endif

any thoughts or comments are appreciated.

Top
#16842 - 2002-01-29 06:46 PM Re: quick launch
Radimus Moderator Offline
Moderator
*****

Registered: 2000-01-06
Posts: 5187
Loc: Tampa, FL
usually the OE shortcut is read only...

'un-read only' it and use deltree on it

_________________________
How to ask questions the smart way <-----------> Before you ask

Top
#16843 - 2002-01-30 07:25 AM Re: quick launch
MCA Offline
KiX Supporter
*****

Registered: 2000-04-28
Posts: 5152
Loc: Netherlands, EU
Dear,

fyi

  • deltree /y "c:\windows\profiles\@userid\application data\internet explorer\quick launch"
    will remove directory and contents.
  • deltree /y "c:\windows\profiles\@userid\application data\internet explorer\quick launch\."
    will only remove contents.

greetings.
_________________________
email scripting@wanadoo.nl homepage scripting@wanadoo.nl | Links | Summary of Site Site KiXforms FAQ kixtart.org library collection mirror MCA | FAQ & UDF help file UDF kixtart.org library collection mirror MCA | mirror USA | mirror europe UDF scriptlogic library collection UDFs | mirror MCA

Top
#16844 - 2002-01-30 08:00 AM Re: quick launch
Kdyer Offline
KiX Supporter
*****

Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
Caution...

DELTREE in Kix means to delete part of the registry tree..

If you want do this in KIX, try this:

code:

SHELL ('%COMSPEC% /C deltree /y "c:\windows\profiles\@userid\application data\internet explorer\quick launch"')

Thanks,

- Kent

_________________________
Utilize these resources:
UDFs (Full List)
KiXtart FAQ & How to's

Top
#16845 - 2002-01-30 08:36 AM Re: quick launch
nephilim Offline
Fresh Scripter

Registered: 2001-12-07
Posts: 17
thanks to all for your comments.
Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 302 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org