but can't. windows 7 sucks with that. it locks the folder and I can't freaking rename a folder. one of those things ppl hated vista for and I hate 7 for it. can't rename a folder, how stupid is that?
Registered: 1999-05-06
Posts: 391
Loc: Amsterdam, The Netherlands
Hmm, I can't seem to reproduce this error.
Tokenizing files in directories containing spaces works fine for me. Note that the tokenized file is created in the same directory as the source script.
Could you please provide more detail on the exact scenario?
From memory, I had a script where it was tokenizing a number of other scripts in different directories. If the path had a space in it, it would act like it tokenized it, the return error was 0, but nothing happened. If I remember correctly, the only way I could get it to work was to use "CD directory" and then it would work.
The failing code looked something like this, where the $dirs all had a space in them, and kix32 was not in directory of the tokenized script.
Code:
for eache $dir in $dirs
$cmd='kix32.exe' + $dir + '\script.kix -t'
shell $cmd
? @serror
? @result
next
Not a fix for the issue, but I wonder if a tokenize function within kix would be useful for this type of use?