mIRC Homepage
Posted By: bog__ $findfile and /remove - 23/07/07 02:01 PM
Code:
on *:DIALOG:test:menu:199: {
  set %1.komanda.brisanje $$?="otkucajte rec 'resetuj sve'"
  set %2.komanda.brisanje resetuj sve
  if (%2.komanda.brisanje == %1.komanda.brisanje) {
    echo -a $findfile($mircdir $+ baza/,*1.htm;*2.htm;*3.htm;*4.htm;*5.htm;*6.htm;*7.htm;*8.htm;*9.htm;*0.htm;*put.htm;,0,remove -b $1- ) 
  }
}



if i put
Quote:
echo -a $findfile($mircdir $+ baza/,*1.htm;*2.htm;*3.htm;*4.htm;*5.htm;*6.htm;*7.htm;*8.htm;*9.htm;*0.htm;*put.htm;,0,echo -a $1- )


i will get the destination of all files in that dir
Quote:
C:\Documents and ..........

and mirc is telling me that
Quote:
* /remove: no such file 'C:\Documents'


so why emty space isnt working on mirc with /remove command heare?
Posted By: SladeKraven Re: $findfile and /remove - 23/07/07 02:04 PM
Put quotes around the directory.

Posted By: bog__ Re: $findfile and /remove - 23/07/07 02:13 PM
Code:
remove -b " $+ $1- $+ " 

ty SladeKraven
Posted By: schaefer31 Re: $findfile and /remove - 23/07/07 02:23 PM
remove -b $qt($1-) also works.
© mIRC Discussion Forums