Greetings,
Years ago I ran across this VB Script. Although it works well enough, I would like it to add a blank line after the End of each Folder. The script will cycle thru a folder, it's files and any sub-folders. After the processing of a folder, and listing any files, after the last file, insert a blank row.
download the attachment, rename to remove the ".txt"
Any assistance would be great!
Brad
Directory Listing Script
-
- 4StarLounger
- Posts: 536
- Joined: 30 Mar 2010, 18:49
- Location: United States
Directory Listing Script
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 12577
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Directory Listing Script
Try adding the line
ObjFile.WriteLine ""
in between the two Next statements near the end of your script
ObjFile.WriteLine ""
in between the two Next statements near the end of your script
StuartR
-
- 4StarLounger
- Posts: 536
- Joined: 30 Mar 2010, 18:49
- Location: United States
Re: Directory Listing Script
StuartR,
Thanks for the suggestion. I get an error
Thanks for the suggestion. I get an error
You do not have the required permissions to view the files attached to this post.
-
- Administrator
- Posts: 78236
- Joined: 16 Jan 2010, 00:14
- Status: Microsoft MVP
- Location: Wageningen, The Netherlands
Re: Directory Listing Script
Try this version.
You do not have the required permissions to view the files attached to this post.
Best wishes,
Hans
Hans
-
- Administrator
- Posts: 12577
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: Directory Listing Script
Sorry, my ObjFile.WriteLine "" should have been ObjLogFile.WriteLine ""
StuartR
-
- 4StarLounger
- Posts: 536
- Joined: 30 Mar 2010, 18:49
- Location: United States
Re: Directory Listing Script
Hans, Thanks that worked great
StuartR,, Thanks no worries
StuartR,, Thanks no worries