I've searched around, but haven't found what I'm looking for, so now over to the brains on here.
I'm using a junk-clearing batch file on a number of WIN98 machines, and one of the (optional) menial tasks is to clear out the autocomplete data from the registry. I currently do this by using a separate regedit 4 file along with the batch file, and invoke it using the following line:
REGEDIT %WINBOOTDIR%\URL.REG
This works fine, but it would be simpler if there was some way of creating the regedit file directly from within the batch file, use it, then delete the file once used, so that there was only the one file for people to 'install', rather than two, which seems to be causing some confusion. The .reg file would need to contain the following text:
REGEDIT4
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs]
Can anyone give me some tips as to how I can create this file with this specific content? My understanding of anything more than the most basic commands is severely limited, so some pointers would be of enormous help and greatly appreciated.
Thanks.
Regards, Andy.
**************************************
My pathetic attempts at learning HTML can be laughed at here:
My home page
I'm using a junk-clearing batch file on a number of WIN98 machines, and one of the (optional) menial tasks is to clear out the autocomplete data from the registry. I currently do this by using a separate regedit 4 file along with the batch file, and invoke it using the following line:
REGEDIT %WINBOOTDIR%\URL.REG
This works fine, but it would be simpler if there was some way of creating the regedit file directly from within the batch file, use it, then delete the file once used, so that there was only the one file for people to 'install', rather than two, which seems to be causing some confusion. The .reg file would need to contain the following text:
REGEDIT4
[-HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs]
Can anyone give me some tips as to how I can create this file with this specific content? My understanding of anything more than the most basic commands is severely limited, so some pointers would be of enormous help and greatly appreciated.
Thanks.
Regards, Andy.
**************************************
My pathetic attempts at learning HTML can be laughed at here:
My home page