Page 1 of 1 1
Topic Options
#45270 - 2003-09-16 09:24 PM Running an .exe file from the login script
csalloum Offline
Lurker

Registered: 2003-03-11
Posts: 2
I am trying to run a, .exe file on a network share. How do i type this in my script to perform the running of the .exe? Do I use Shell or Run? What's the exact syntax? Thanks.
Top
#45271 - 2003-09-16 09:45 PM Re: Running an .exe file from the login script
MCA Offline
KiX Supporter
*****

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

Welcome to the board.

Different solutions are possible.

1. you have mapped your network drive f.e. as X-drive

SHELL '%comspec% /c X:\my_program.exe'

2. you haven't mapped as drive and it exists on \\domain\software

SHELL '%comspec% /c \\domain\software\my_program.exe'

or when it is a hidden share

SHELL '%comspec% /c \\domain\software$\my_program.exe'

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
#45272 - 2003-09-16 10:24 PM Re: Running an .exe file from the login script
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Also, see the FAQ section.

Specifically: Not quite everything you wanted to know about RUN and SHELL

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 735 anonymous users online.
Newest Members
JimDunn, fgarcia, Viginette, ManuvdWielNL, Sir_Barrington
17890 Registered Users

Generated in 0.144 seconds in which 0.086 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