fso Questions
2
I have this vbscript code:
Set fs = CreateObject("Scripting.FileSystemObject")
Set ts = fs.OpenTextFile("tmp.txt", 2, True)
for i = 128 to 255
s = chr(i)
if lenb(s) <&g...
5
Solved
Trying to use Excel VBA to capture all the file attributes from files on disk, including extended attributes. Was able to get it to loop through the files and capture the basic attributes (that com...
Cradling asked 13/4, 2011 at 15:39
3
Solved
I have a vbscript that I have written to move files from a source directory to a destination directory. The way the script works at the moment is that I have a mapping file which is read in (maps i...
1
Solved
Below is a procedure to search folder for a folder like "requirements". When beginning to step through I receive an error message because of FileSystemObject:
User defined type not defin...
3
Solved
I'm using Microsoft Scripting Runtime (FSO) to parse folders and produce a list of all of its contents, the folders are on a network and resultant paths end up longer than 260. The minimum code I h...
Anglicanism asked 18/7, 2016 at 8:46
2
Solved
I'm trying this code:
filename = "test.txt"
listFile = fso.OpenTextFile(filename).ReadAll
listLines = Split(listFile, vbCrLf)
For Each line In listLines
WScript.Echo line
'My Stuff
Next
Or th...
1
© 2022 - 2024 — McMap. All rights reserved.