HI All,
Now i am writing a vbscript using the filesystemobjec t to read the contant line by line of registry file (*.reg). Unfortunally, what the contant that show for the first line is "ypw" and the continuous is empty. Could anyone help? Thanks in advance.
My code as below:
[CODE=vb]Set file = CreateObject("S cripting.FileSy stemObject")
Set mfile = file.OpenTextfi le("c:\registry .reg") 'registry.reg is export from regedit
While NOT mfile.AtEndOfSt ream
a=mfile.Readlin e
msgbox a
Wend
mfile.close[/code]
Now i am writing a vbscript using the filesystemobjec t to read the contant line by line of registry file (*.reg). Unfortunally, what the contant that show for the first line is "ypw" and the continuous is empty. Could anyone help? Thanks in advance.
My code as below:
[CODE=vb]Set file = CreateObject("S cripting.FileSy stemObject")
Set mfile = file.OpenTextfi le("c:\registry .reg") 'registry.reg is export from regedit
While NOT mfile.AtEndOfSt ream
a=mfile.Readlin e
msgbox a
Wend
mfile.close[/code]
Comment