l_d_allan
12th October 2005 16:47 UTC
Delete /r not documented (modern ui only?)
Please ignore this post. My error. Will try to delete entire thread to preclude confusion.
The nsis documentation doesn't mention the /r flag (for recursion?).
This /r flag seems to work with the Modern UI but not "standard" nsis. Is there some "magic" happening such that the MUI includes library.nsh and/or filefunc.nsh?
IMHO, seems flawed that the MUI would change this behavior.
rmdir /r
is available for what
delete /r
seems to want to accomplish.
Comm@nder21
12th October 2005 16:53 UTC
/r is a flag for RMDir only because RMDir can delete directories(!) recursively.
Delete is for deleting files only it does not have this flag!
kichik
12th October 2005 16:53 UTC
There's no such thing as Delete /r, only RMDir /r. Where did you see it?
l_d_allan
12th October 2005 17:18 UTC
Well, the /r flag is accepted by the compiler (and I suppose works?) with the Modern UI.
Also,
http://forums.winamp.com/showthread....ht=delete+%2Fr
HTH
kichik
12th October 2005 17:22 UTC
The /r switch is not accepted by my compiler and in that thread, right after the message saying Delete /r should work, stonkers says:
This is not in the documentation, and is a compile time error when I try it. The only argument to delete is Reboot. Anyone else?
l_d_allan
12th October 2005 17:56 UTC
Sorry ... my error ... Red Face :igor:
I guess I was looking at a commented out statement or something. It was code generated by the EclipsePlugIn and then modified by a nsis newbie with even less nsis experience than myself. I'll try to be more careful before posting.
Perhaps you might remove this entire thread to preclude confusion?
kichik
12th October 2005 18:18 UTC
Well, the correct answer is here, so it could only help someone who encounters the same problem.