Let's say I have this in my clipboard:
Code: Select all
D:\BMachine\zSNAGS\_STRIDER\y2010\y10m01
D:\BMachine\zSNAGS\_STRIDER\y2010\y10m02
D:\BMachine\zSNAGS\_STRIDER\y2010\y10m03
D:\BMachine\zSNAGS\_STRIDER\y2010\y10m04
D:\BMachine\zSNAGS\_STRIDER\y2010\y10m05
Assuming I grab the contents of the clipboard to a variable
//Save clipboard paths to variable.
GetClipBoard>folderpaths
What do I have to do in order to operate changes on all folders listed in the saved paths?
It's simple when there's only a single path, but I don't know exactly how to handle multiple paths. I guess it requires an array and a loop.
Could someone help me with the script for achieving this? (for example, setting the read only attribute on each folder listed in the saved paths.. like RunProgram>attrib +R "%folderpaths%")
Thank you!