mIRC Home    About    Download    Register    News    Help

Print Thread
$findfile and /remove #181430 23/07/07 02:01 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
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?

Re: $findfile and /remove [Re: bog__] #181431 23/07/07 02:04 PM
Joined: Dec 2002
Posts: 3,547
S
SladeKraven Offline
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Put quotes around the directory.


Re: $findfile and /remove [Re: SladeKraven] #181432 23/07/07 02:13 PM
Joined: Dec 2004
Posts: 40
B
bog__ Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
Code:
remove -b " $+ $1- $+ " 

ty SladeKraven

Re: $findfile and /remove [Re: bog__] #181433 23/07/07 02:23 PM
Joined: Aug 2005
Posts: 525
S
schaefer31 Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2005
Posts: 525
remove -b $qt($1-) also works.