Thread: Custom Command
View Single Post
Old 05-01-2005, 10:55 PM  
Dundee
Junior Member
 
Join Date: Dec 2004
Posts: 14
Default Custom Command

I'd like to make a command that will execute something in every subfolders of the selected folders.

This works for depth 1:

cwd %f
site rescan
cdup
Delay 5


I'd like to make it for a depth 2.
Can somebody help?



Exemple:

/MyNewAlbums/VA-80's_bests
/MyNewAlbums/VA-Rock_Classics
are selected.

With depth 1, "site rescan" will be executed in
/MyNewAlbums/VA-80's_bests
/MyNewAlbums/VA-Rock_Classics




/MyNewAlbums
/IncomingAlbums
are selected.

With depth 2, "site rescan" will be executed in
/MyNewAlbums/Britney_S-I_Suck_So_Much
/IncomingAlbums/Chopin-Greatest_hits
etc
Dundee is offline