Hmm, now i got it to hide the error msg, but it always return it. Even when it was able to delete the file, so still a no go. Any more ideas?
alias testing {
.remove $qt($+($logdir,test,.log))
:error
reseterror
echo -a File could not be deleted.
}
The file test.log will be removed, and if i userstand it right the :error will only be used if a error occur? $error return nothing.