How can I delete files with unknown folder names in the path
i need script delete files older 4 days, won't know name of 1 of folders in path. in other words, folder1 contains many folders not know name of, , each of folders contains folder named download, need find , delete files older 5 days. folder1\*\download\*.* older 4 days. don't know how w/o knowing name of middle folder. know it's doable. assume i'd need find name of middle folders , store them somewhere, , insert names variable in path. in advance.
dave
please post question in scripting forum.
http://social.technet.microsoft.com/forums/en/itcg/threads
santhosh sivarajan | mcts, mcse (w2k3/w2k/nt4), mcsa (w2k3/w2k/msg), ccna, network+| houston, tx
blogs - http://blogs.sivarajan.com/
posting provided no warranties,and confers no rights.
Windows Server > Windows Server General Forum
Comments
Post a Comment