|
|
|||||||
Can anyone verify if @SCRIPTDIR is broken in the latest beta (compared to the behavior in 4.23 for example) ? -Shawn |
||||||||
|
|
|||||||
Can you elaborate? I get identical results in my basic tests. Code: break on KiX version: [4.50 Beta 2a Release] ScriptDir: [C:\KiXscripts] C:\KiXScripts> KiX version: [4.23] ScriptDir: [C:\KiXscripts] C:\KiXScripts> |
||||||||
|
|
|||||||
Move and run your script from the root of C: and try again ... |
||||||||
|
|
|||||||
Using the following script: Code:
Getting different results ... 4.23 E:\>kix423 bug SCRIPTDIR=E: 4.50 E:\>kix32 bug SCRIPTDIR= |
||||||||
|
|
|||||||
So.. prob only if run from the root? |
||||||||
|
|
|||||||
and only if the path is implied as curdir? |
||||||||
|
|
|||||||
I think only if curdir = scriptdir, regardless of whether its root or not. |
||||||||
|
|
|||||||
right you are C:\KiXscripts>C:\KiX4.50b2\KIX32.EXE test.kix KiX version: [4.50 Beta 2 Release] ScriptDir: [] C:\KiXscripts>C:\KiX4.23\KIX32.EXE test.kix KiX version: [4.23] ScriptDir: [C:\KiXscripts] C:\KiXscripts> I would never had noticed cuz I do all my testing by drag/dropping the script onto a shortcut that launches KiX from CMD. That way the path is full and never implied as curdir. |
||||||||
|
|
|||||||
Ditto - same results here. C:\>C:\KiX45b2a\kix32 C:\KiX45b2a\test.kix KiX version: [4.50 Beta 2a Release] ScriptDir: [C:\KiX45b2a] C:\KiX45b2a>kix32.exe test.kix KiX version: [4.50 Beta 2a Release] ScriptDir: [] C:\KiX45b2a>kix32.exe .\test.kix KiX version: [4.50 Beta 2a Release] ScriptDir: [.] |
||||||||
|
|
|||||||
Doc, Those tests almost make it appear like Kixtart is now fetching @SCRIPTDIR from the commandline now, instead of some other way. |
||||||||
|
|
|||||||
Good catch: this is fixed in RC1 (due to be released soon). Ruud |
||||||||
|
|
|||||||
still some problems with @scriptdir (and @scriptname), see here |
||||||||
|
|
|||||||
iffy had some issues issues and one friend of mine but nobody else can see these, afaik. |
||||||||
|
|
|||||||
Yeah, Iffy doesn't have Build 195 which fixed the problem. Build 196 may be the Release Version expected any time now. |
||||||||
|
|
|||||||
well, rc-1 was said to fix this and 195 did not promise this, thus think it does not cut it. but. think we will see if not sooner, at least when gold comes up and iffy gets his hands on it... |
||||||||
|
|
|||||||
Well I think the naming of the versions may be the issue. That is why I've been trying to use the build number when I speak of it. Here was an e-mail from Ruud with KiXtart 4.50 Build 195 Quote: |
||||||||
|
|
|||||||
so there it was in the mail... should read all the "docs" before saying anything. |
||||||||
|
|
|||||||
I must have missed that last email. never got it. I think my mail server/dynamic DNS was fubared at the time (should be fixed now) |
||||||||
|
|
|||||||
hmm... that's not last email. I can't get logged onto my hotmail account but afaik, there is already a new one. |
||||||||
|
|
|||||||
Ja. I got one this morning. |