Hi, Part A - I want to search all .txt and .doc extensions using vbscript in all
ID: 3628961 • Letter: H
Question
Hi,Part A - I want to search all .txt and .doc extensions using vbscript in all local drives and display the file names found in a text file with their modification dates in the file named updateFiles.txt
Also, prior to that a backup folder has been created with a backup of all .txt files in the system, when the list is being produced (part A), it should exclude this backup folder (autobackup) in C:
Part B - Then I need to use the subroutine compareFiles to check each file in updateFiles.txt to see whether the file needs to backup. If a file has been in autoBackup folder and its last modified date has not been changed, delete the file from updateFiles.txt
Lastly, i want to call backupFiles which copies all the files whose names are in updateFiles.txt to the autoBackup folder
Really appreciate all the help I can get. I can post the non-working scripts I have but they're completely off topic to what I need :(
Explanation / Answer
part A: search for "" *.txt "" u will get all txt files also """ *.doc """ for doc files
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.