hi there,
i have my library write protected. changing files in foobar wont work. i am looking for a command to remove, and after applied changes reinstate write protection of marked files.
florians old foo run component could be doing this. but i did not manage to get it to work with attrib.exe -r/+r.
any ideas?
cmd /c attrib -r "%_path%" /s
seems to work fine for me
also
cmd /c attrib -r "$directory_path(%path%)\*.*" /d /s
for the whole directory
Not sure about what to do to reapply write protection and what one might need it for, though.
thanx, so i need the "obsolete" foo_run 0.3.7 or how do i use your lines?
the answer to myself is yes: foo_run_0.3.7.dll still works. the lines either remove protection for one or first selected file or all files in folder.
write protectection set would be: +r instead of -r
but how is the command line for marked files in different folders? please?
what i mean is in a playlist there are files from different folders, all write protected. lets say i want to apply replaygain. it wouldnt work. so i ask for the line to put in foo_run to remove rm status from marked files in the playlist in foobar.
I wouldn't know how to approach this, as the commands rely on extracting file path, and I don't believe it's possible to get multiple paths at once, at least with default components.
Also, you're saying that you can't set your own commands in newer versions of foo_run?
there is two different versions of different authors. foo_run 0.3.7 is "obsolete", meant for foobar 0.9. it still works and i can use your command lines. but it is not really helpfull to do it one by one, i rather open all files in mp3tag, there it is easier to set rm for "all marked files".
the newer foo run is very different and i dont see how to use it for this "indication".
thanx for looking into it.