Page 1 of 1 1
Topic Options
#125599 - 2004-08-25 12:18 PM Problem with script
Anonymous
Unregistered


Can somebody tell me what the problem with this script is please? I am trying to complete an install of the DSClient for W9x machines but keep getting an error relating to setup.exe.

If InGroup ("daz")
if exist("c:\DSInstal.txt")


quit 1
endif

if @inwin = 2

if not exist ("c:\DSInstal.txt")
copy "S:\W9xAD\DSInstal.txt" "c:\"
display "S:\w9XAD\DScopytxt"
copy "S:\W9xAD\DSClient.xex" "c:\DSClient.exe" ;
shell "c:\dsclient.exe /c:"setup.exe /q""
display "S:\DSComplete.txt"
endif

; endif
; endif

Thanks

Top
#125600 - 2004-08-25 12:27 PM Re: Problem with script
Jochen Administrator Offline
KiX Supporter
*****

Registered: 2000-03-17
Posts: 6380
Loc: Stuttgart, Germany
apart from the fact that the amount of endif's doesn't match the amount of if's
you have a quote puzzle there:

shell "c:\dsclient.exe /c:"setup.exe /q""

should be

shell 'c:\dsclient.exe /c:"setup.exe /q"'
_________________________



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.052 seconds in which 0.028 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