Page 1 of 1 1
Topic Options
#51095 - 2000-08-23 12:24 AM shorcut to my docs in profile dir
Julian Offline
Starting to like KiXtart

Registered: 2000-04-20
Posts: 112
Loc: Newcastle, Staffs, UK
I want to place a shortcut pointing to My Documents located in the userprofile path. However as every location is different due to the username been different. Is there anyway of using the shortcut.exe along with KIX to overcome this?

[This message has been edited by Julian (edited 22 August 2000).]

Top
#51096 - 2000-08-22 03:58 PM Re: shorcut to my docs in profile dir
Bryce Offline
KiX Supporter
*****

Registered: 2000-02-29
Posts: 3167
Loc: Houston TX
Use the system variable %userprofile%

%userprofile%\Desktop

You should copy the .lnk file that is the shortcut that you want.

your kix code would look something liek this

copy "\\server\share\my Documents.lnk" "%userprofile%\desktop"

Bryce

Top
#51097 - 2000-08-22 04:34 PM Re: shorcut to my docs in profile dir
Julian Offline
Starting to like KiXtart

Registered: 2000-04-20
Posts: 112
Loc: Newcastle, Staffs, UK
yes but how could i create the shortcut to point to the local path e.g. c:\winnt\profiles\username\personal\my docs

again cause the target of the shortcut will be different for each user

Top
#51098 - 2000-08-23 09:33 PM Re: shorcut to my docs in profile dir
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
@Username?

No, sorry Julian [*lack of oxygen <-> brain*]
would be at least @Userid! if this was Your problem ....

Goin' to bed now !

Sorry again
J.

[This message has been edited by jpols (edited 23 August 2000).]

_________________________



Top
Page 1 of 1 1


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

Who's Online
0 registered and 857 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.05 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