Hello,

I have an issue with the RMdir command in a kix script:
I'd like the login script to remove certain starmenu folders and all links they contain, but with these commands i can not get it done.

If Not InGroup("APP_TOOLS")
Shell '%comspec% /c rmdir "%userprofile%\Start Menu\Programs\Tools" /S /Q'
EndIf

If Not InGroup("APP_UTILS")
Shell '%comspec% /c rmdir "%userprofile%\Start Menu\Programs\Utils" /S /Q'
EndIf

Do i have a syntax error in them? Or should a check for existance be done first? If yes, how can i do that?

By using the same command in a dos box, leaving out shell, it works fine. but not via kix.


Edited by awoei (2007-01-04 12:09 PM)