Hello,
The following script is giving me this error:
Object required: {string: '["""D:\Program Files\Ju"]'
I've tried %20 and that did not work. What changes need to be made to
the VBScrit below to get rid of the above error.
Dim regedit, nFile
set regedit = CreateObject("WScript.Shell")
set nFile = """D:\Program Files\Just BASIC v1.01\My Programs
\eBookErrFix\eBookErrFix\eBookErrFix\CurrentFile.txt"""
nFile.write(regedit.RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft
\Windows NT\CurrentVersion\Winlogon\DefaultUserName"))
Thank you for your help,
jfcby