![]() ![]() Once this is accomplished all 3,400 empty subfolder need to go to the recycle bin. My question to anyone out there, Is it possible for a script to send all 3,400 subfolders straight to the Recycle Bin as empty subfolders? However, the same script needs to leave behind in the main root folder 3,400 video files that have been renamed using the subfolder names that are now located in the recycle bin? In other words, what I'm seeking for the script to do is to extract all 3,400 video files from each subfolder. I have tried both scripts, and both scripts move the subfolder and the video file within straight into the Recycle Bin. Once the subfolder is empty of video file the script needs to move the subfolder to the Recycle Bin as an empty subfolder The script needs to cut and paste the video file out of the subfolder while at the same time renaming it using the name of the subfolder.My goal is to get a script to process all 3,400 so that it does the following: I want to eliminate 30 seconds of waiting by deleting 3,400 subfolders and just have all video files no longer nested within subfolders. Right now I have to wait around 30 seconds for my Windows OS to refresh the main Customer Footage folder every time I exit any of the subfolders. All 3,400 subfolders contain video clips I have collected over 15 years of operating a wedding video business. I have close to 3,400 subfolders nested within a folder named Customer Footage. Is it possible to modify the code so that all three files renamed to Test1.avi, Test2.avi and Test3.avi remain located in the "Test Master Folder"? Furthermore, can the empty folders named Test1, Test2, and Test3 get moved to the Recycle Bin as empty folders? I would be very grateful if you or anyone in this forum can make this modification to the code. So it is successfully renaming the files using the containing Folder Name. However they have been renamed Test1.avi, Test2.avi and Test3.avi. Each folder in the Recycle Bin still contains three AVI files. What the script is doing instead is moving all three Test1, Test2 and Test3 folders into the Recycle Bin. If the script was working successfully I should see after execution three AVI files within the "Test Master" folder named:Īnd the folders Test1, Test2, and Test3 should be moved into the Recycle Bin as empty folders no longer containing AVI files. Within each of these folders there is a small AVI file named 12345.avi. Within this folder there are three folders named Test1, Test2, and Test3. To summarize, I created a "Test Master" folder. I tested it out and attached you will see the error messages I got. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |