Create a vbscript script (w3_firstname_lastname.vbs) that takes one

  

Create a VBScript script (w3_firstname_lastname.vbs) that takes one parameter (folder name) to do the following

1) List all files names, size, date created in the given folder

2) Parameter = Root Folder name – The script should check and validate the folder name

3) Optionally, you can save the list into a file “Results.txt” using the redirection operator or by creating the file in the script.

4) Make sure to include comment block (flowerbox) in your code.

5) Sample run:- C:entd261>cscript.exe w2_sammy_abaza.vbs “c:entd261” >results.txt

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply