Acutally it is quite easy to understand, now that you have shown what else in your script. 'query is a function in Rebol (you redifine it in your code) and 'exists? uses the 'query function. (Use ? query and source exists? to see what I mean) So just change the word to something like this. query-object: make object! decode-cgi system/options/cgi/query-string To help prevent yourself from accidently redifining system words you could use 'protect-system Cheers, Allen K ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 23, 2000 1:45 AM Subject: [REBOL] How's this for frustration... or...NT/CGI/mail prob solved... Re:(2) > > Now if someone could explain me how the following is possible : > > > list-dir %/existing/path/ > > > produces a correct directory listing. But with the same path, > > > print exists? %/existing/path/ > > > results in false. > > > Note: the script does run with execution permission. > > I'm getting somewhere : > > query: make object! decode-cgi system/options/cgi/query-string > > when the line above is commented out, all file access problems > disappear. > > This is not a solution, of course, because I need to fetch CGI > parameters, but the problem comes from creating an object, or using > it, I don't know yet... > > -- > [EMAIL PROTECTED] > http://perso.worldonline.fr/mutant > > > >