Page 1 of 1 1
Topic Options
#121734 - 2004-06-23 04:05 PM Shell command problem
tonyh Offline
Getting the hang of it

Registered: 2002-01-09
Posts: 55
Loc: UK
Hi I have a problem with the below shell cmd line

Shell '%comspec% /c msiexec /i "hummingbird exceed.msi" TRANSFORMS=1033.mst /q Reboot="ReallySupress"'

within dos
msiexec /i "hummingbird exceed.msi" TRANSFORMS=1033.mst /q Reboot="ReallySupress"
works with no problems. it must Im missing a few "" or something - Please can some help. Its doing my head in.

cheers Tony
_________________________
Tonyh

Top
#121735 - 2004-06-23 04:25 PM Re: Shell command problem
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
It doesn't look too bad.

Are you getting an error? Is that your entire script?

Try without the "%comspec% /c" - you don't need it if you are not using any DOS shell features.

Top
#121736 - 2004-06-23 04:25 PM Re: Shell command problem
tonyh Offline
Getting the hang of it

Registered: 2002-01-09
Posts: 55
Loc: UK
dont worry done it missing "" around the $comspec% as in

Shell '"%comspec%" /c msiexec /i "hummingbird exceed.msi" TRANSFORMS=1033.mst /q Reboot="ReallySupress"'

woppee
_________________________
Tonyh

Top
#121737 - 2004-06-23 04:27 PM Re: Shell command problem
tonyh Offline
Getting the hang of it

Registered: 2002-01-09
Posts: 55
Loc: UK
thanks anyway Richard
_________________________
Tonyh

Top
#121738 - 2004-06-23 07:15 PM Re: Shell command problem
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
Hmm. Not sure why you would need quotes around %comspec%, unless you have a space in the path. You should take Richard's advice, however, as %comspec% /c is unnecessary.
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
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.145 seconds in which 0.082 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