rejetto forum
Software => HFS ~ HTTP File Server => Topic started by: woodfold on July 23, 2012, 04:21:46 PM
-
I'm using the debug/run script command in v2.3beta build 280. I can create accounts by the hundreds, but need a way to remove them as easily.
I found a reference to {.delete account.} but I can't get the syntax right.
I've tried variations on:
{.set account |S1017 .}
{.delete account S1017.}
What I get is: <div class=macroerror>macro error: delete account<br>not supported or illegal parameters</div>
Can anyone point me in the right direction?
-
you simply forgot the pipe ;)
{.delete account | S1017.}
you can use a loop to do your job with a list of accounts
{.for each | temp | S1017 | S1018 | S1005 | S1025 | S1014 | {:{.delete account | {.^temp.}.}:} .}
consider temp as a variable,
S1017 , S1018 , S1005 , S1025 , S1014 are the accounts to be deleted