Page 1 of 1 1
Topic Options
#16520 - 2002-01-23 03:05 PM Running EXE file from INWIN command
ianpritch44 Offline
Lurker

Registered: 2002-01-23
Posts: 2
Loc: UK
Could do with a hand here ... new to Kix but have been left an existing script that I want to add a command to run 2 seperate EXE files dependant on OS.

I have

IF @INWIN=2
RUN "\\SERVERNAME\FILE98.EXE"
ELSE
RUN "\\SERVERNAME\FILENT.EXE"
ENDIF

Can someone please advise as to where I am going wrong.. the script runs all the above parts to it but doesnt run this EXE file.

I have tried adding a command in a batch file and calling that as well but it just seems to ignore it.

IanPritch44

Top
#16521 - 2002-01-23 03:16 PM Re: Running EXE file from INWIN command
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
I just tried it over here and it worked fine. Could it be that your missing the sharename in your UNC path ?, eg.

RUN "\\SERVERNAME\SHARENAME\FILENT.EXE"

-Shawn

Top
#16522 - 2002-01-24 11:03 AM Re: Running EXE file from INWIN command
ianpritch44 Offline
Lurker

Registered: 2002-01-23
Posts: 2
Loc: UK
Cheers Shawn,

Share name problem... I feel suitably stupid.. thanks mate

Ian

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

Generated in 0.183 seconds in which 0.149 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