1. qback.exw problem
Using qback -d on Windows XP i'm getting the the message that 'deltree' is
not a valid command. Any suggestions? Here's the code segment. I don't know
what it's trying to do.
if find('d', entry[D_ATTRIBUTES]) then
system("deltree " & target_path, NO_CLEAR) -- could add /y
else
system("del " & target_path, NO_CLEAR)
end if
2. Re: qback.exw problem
I beleive Google found the answer. The link says to use "rmdir" for XP and 2000
instead of
the dos command "deltree". I'm asuming this is correct??
3. Re: qback.exw problem
here's the link to the info.
http://www.computerhope.com/deltree.htm
4. Re: qback.exw problem
Well, that doesen't seem to work. The directory must be empty. So any
suggestins would be appreciated.
5. Re: qback.exw problem
George Walters wrote:
>
> Well, that doesen't seem to work. The directory must be empty. So any
> suggestins would be appreciated.
>
On Win2000, and I am assuming XP also, RMDIR /S will remove the specified
directory and all of it's contents. RMDIR /S /Q will perform this without
prompting for verification.
Larry Miller
6. Re: qback.exw problem
Thanks Larry, that removed the complaint from windows that the dir was
not empty. Now however it is saying it cannot find the subdir that has
a blank in the name. e.g. "my testdir". I guess this is a rmdir error,
because I did a trace on the path in qback and it is correct.
7. Re: qback.exw problem
George Walters wrote:
>
> Thanks Larry, that removed the complaint from windows that the dir was
> not empty. Now however it is saying it cannot find the subdir that has
> a blank in the name. e.g. "my testdir". I guess this is a rmdir error,
> because I did a trace on the path in qback and it is correct.
>
The command should work if the path to the directory is enclosed within quotes.
In Win 9x it was always necessary to enclose paths with quotes if it contained
spaces and is still required in WindowsXP in some cases in order to avoid
ambiguity.
Larry Miller
8. Re: qback.exw problem
Thanks, I figured out my problem. I had a slash slanting the wrong way.