Page 1 of 1 1
Topic Options
#113619 - 2004-02-09 12:51 PM How to open a link to an executable
Bonehead Offline
Fresh Scripter

Registered: 2004-02-03
Posts: 7
Loc: Kapelle --> Zeeland --> The Ne...
My simple question is: "How can open a link to a file with a scrip?"
I mean, how can I do that with a script
_________________________
.: --------------------------------------------:. m.v.g. Bonehead AVE CEASAR!!! .: --------------------------------------------:. Smash forehead on keyboard to continue.....!!

Top
#113620 - 2004-02-09 01:29 PM Re: How to open a link to an executable
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
Not too sure what you mean, this will execute a shortcut called "Some Exe" on my desktop (WinXP):
Code:
Shell '%COMSPEC% /C "%USERPROFILE%\Desktop\Some Exe.lnk"'


Top
#113621 - 2004-02-09 01:40 PM Re: How to open a link to an executable
Bonehead Offline
Fresh Scripter

Registered: 2004-02-03
Posts: 7
Loc: Kapelle --> Zeeland --> The Ne...
Als antwoord op:

Not too sure what you mean, this will execute a shortcut called "Some Exe" on my desktop (WinXP):
Code:
Shell '%COMSPEC% /C "%USERPROFILE%\Desktop\Some Exe.lnk"'







I have a link to "E-mail settings.lnk", This links to a small program of Outlook(Express), I want to (open) run this link so that I can change my settings for e-mail.
_________________________
.: --------------------------------------------:. m.v.g. Bonehead AVE CEASAR!!! .: --------------------------------------------:. Smash forehead on keyboard to continue.....!!

Top
#113622 - 2004-02-09 03:07 PM Re: How to open a link to an executable
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, looking at the answer you got, you got it already.
anyway, this is no way to go but you should look for the real location for the settings which most likely are in registry.
_________________________
!

download KiXnet

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 1636 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

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