#43134 - 2003-07-21 06:27 PM
@SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
[Moderator (Sealeopard): Moved thread from 'Scripts' to 'Starters' forum due to lack of script in body]
When running a script, it appears the @SCRIPTDIR variable is not resloving. I've tried KIX32.EXE version 4.0.1.0 and WKIX32.EXE version 4.0.1.0. Any ideas?? [ 21. July 2003, 18:30: Message edited by: sealeopard ]
|
|
Top
|
|
|
|
#43135 - 2003-07-21 06:29 PM
Re: @SCRIPTDIR blank
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Mike,
What happens when you do the following?
code:
CLS BREAK ON ?@SCRIPTDIR ?'press a key to quit' Get $k
This should print out the directory of where you are executing this from.
HTH,
Kent
|
|
Top
|
|
|
|
#43137 - 2003-07-21 06:35 PM
Re: @SCRIPTDIR blank
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
Just verified this under 4.01 and works fine as does 4.21.
Can you show us your code? It is supspect that you are probably missing a backslash.
Kent [ 21. July 2003, 18:36: Message edited by: kdyer ]
|
|
Top
|
|
|
|
#43138 - 2003-07-21 06:48 PM
Re: @SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
When I run kdyer's posted script I get a blank line then press a key to quit.
|
|
Top
|
|
|
|
#43139 - 2003-07-21 06:54 PM
Re: @SCRIPTDIR blank
|
Kdyer
KiX Supporter
   
Registered: 2001-01-03
Posts: 6241
Loc: Tigard, OR
|
What about Jens' response of version 4.21?
Are you running this under Win9x? If so, you may need to start KXRPC on your DC.
Kent
|
|
Top
|
|
|
|
#43141 - 2003-07-21 07:54 PM
Re: @SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
It's W2k clients and W2k servers. Didn't try 4.21. We are "regulated" on what we can use and they "Standard" we are running is the 4.0.1.0. Any more ideas? Thanks!
|
|
Top
|
|
|
|
#43143 - 2003-07-21 08:07 PM
Re: @SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
Output is:
KiXtart v4.01 Script Dir press a key to quit
|
|
Top
|
|
|
|
#43145 - 2003-07-21 08:28 PM
Re: @SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
4.2 works. So we're screwed unless we go to a new version then? 4.0.1.0 got a bug? Thanks for all the help!
|
|
Top
|
|
|
|
#43147 - 2003-07-21 08:40 PM
Re: @SCRIPTDIR blank
|
Anonymous
Anonymous
Unregistered
|
Thanks a lot as usual! Most replies on this board are faster than a speeding bullet!
|
|
Top
|
|
|
|
Moderator: Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart
|
0 registered
and 640 anonymous users online.
|
|
|