I have a text file saved as UTF-8 and when I try to read the file it gives me weird characters and not the correct characters (it contains Chinese characters). How can I make it give me the correct Chinese characters?
Option Explicit
Dim objFSO, strTextFile, strData, strLine, arrLines...
The looping isn't exactly how I wanted. Here's how I want to loop:
Read the 1st line of folder.txt and 1st line of folder-list.txt.
Loop all the lines in dir.txt
Go to the next line of folder.txt & folder-list.txt
Loop all the lines in dir.txt
and so on...
I tried moving the for loop around...
I am having trouble of making the script to read the text line by line.
This is the steps the code should do:
1. Read folder.txt
2. Open the file listed in folder.txt
3. Echo the contents inside of test.txt
4. Read folder-list.txt
5. Open the file listed in folder-list.txt
6. Open dirlist.txt...
I have a list full of directories and I want to loop through those directories and open the txt file. Then read the data inside that txt file and assign to a variable.
This is an example of the directory list looks like:
C:\Documents and Settings\Administrator\Desktop\ArtistCG\[ Go! Go...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.