Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
VBS is picking up something in ppsspp.ini
#1
VBS is picking up something i>>?[General] using this vbs found online, all i did was to change so it can read the ppsspp.ini
open note pad save as 1.vbs

Option Explicit

Const fsoForReading = 1
Const fsoForWriting = 2

Function LoadStringFromFile(filename)
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("ppsspp.ini", fsoForReading)
LoadStringFromFile = f.ReadAll
End Function

Sub SaveStringToFile(filename, text)
Dim fso, f
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile("ppsspp.ini", fsoForWriting)
f.Write text
End Sub

'SaveStringToFile "new.ini", "Hello World" & vbCrLf
MsgBox LoadStringFromFile("ppsspp.ini")


Attached Files Thumbnail(s)
   
ASRock Fatal1ty Z97 Killer | Intel i7-4790k @ 4.0GHz | 2x4GB DDR3 1600MHz | EVGA GTX 1070 | Windows 10 Pro x64
Reply
#2
That's probably a UTF-8 byte order mark, it's basically a marker that says that this file is encoded in UTF-8 Unicode.
Reply
#3
Thanks
ASRock Fatal1ty Z97 Killer | Intel i7-4790k @ 4.0GHz | 2x4GB DDR3 1600MHz | EVGA GTX 1070 | Windows 10 Pro x64
Reply


Forum Jump: