Page 1 of 1 1
Topic Options
#15810 - 2002-01-07 04:34 PM Desktop Icon
Jacob_Kreed Offline
Fresh Scripter

Registered: 2001-12-14
Posts: 19
Loc: UK
I have a desktop shortcut , how do copy this onto a user desktop using kix
Top
#15811 - 2002-01-07 04:51 PM Re: Desktop Icon
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
I suppose it al depands on the OS.

You could copy it directly onto the desktop with Win9x, c:\windows\desktop\

WinNT, desktop stored in the c:\winnt\profiles\username\desktop\

Win2K, the profiles are stored in the c:\Documents and Settings\username\desktop\

from then it's a simple copy.

Hope this helps.

_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#15812 - 2002-01-07 05:12 PM Re: Desktop Icon
Anonymous
Unregistered


Use the command line tool: Makescut.exe
It should do the job http://208.236.1.48/downloads/utils/makescut.zip

//robban

Top
#15813 - 2002-01-07 06:01 PM Re: Desktop Icon
Kdyer Offline
KiX Supporter
*****

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

You should probably use the following to define the Desktop..

code:

$UserDesktop = READVALUE("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Desktop")

$AllUsersDesktop = READVALUE("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders","Common Desktop")


Or, you can use Shawn's cool Shorcut script! If you use it, you can use the following WMI Methods:

code:

$shell = createobject("wscript.shell")
$desktop = $shell.specialfolders("Desktop")

Have Fun!

- Kent

[ 07 January 2002: Message edited by: kdyer ]

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

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 2009 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.088 seconds in which 0.06 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