rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: raybob on July 16, 2012, 05:38:04 PM

Title: {.delete.} and bin=0
Post by: raybob on July 16, 2012, 05:38:04 PM
Using {.delete|a|bin=0.} does not work when "a" points to a folder.
Title: Re: {.delete.} and bin=0
Post by: rejetto on July 17, 2012, 08:52:47 AM
documentation states "a file", my ass is safe. ;)
Can't you go through {.exec|rmdir /q /s.} to delete it?
Title: Re: {.delete.} and bin=0
Post by: raybob on July 17, 2012, 03:56:58 PM
Holy hell you can do CMD commands directly within {.exec.} ???   AHHH I've made so many temporary batch files that can all now be rewritten....  :'(
Title: Re: {.delete.} and bin=0
Post by: Mars on July 17, 2012, 04:47:38 PM
{.exec.} This command can also retrieve informations 'out' 'timeout' or 'exit code', if I'm not mistaken

 :D
Title: Re: {.delete.} and bin=0
Post by: rejetto on July 17, 2012, 06:09:37 PM
yes, try this way
{.exec|cmd /c dir|out=#x.}
{.^#x.}