I have the pasted .BTM file and not sure if I have coded the registry access routines correctly; Any chance someone could look them over and just verify please? A huge thank you for anyone willing to. I'd like to use full error checking, etc...
======= begin paste
@echo off
:: handle all the PFC files in folder given below. Assume no emails in any PFC file.
pushd "C:\AOL_PFCs\All_Fav_PfCs"
:: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites = d:\Charles_Favs\Z_INPORT
set sFavs = @REGQUERY["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites"]
set nDone = @regsetenv["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites",REG_SZ,%sFavs+"\Z_INPORT"]
iff %nDone ne 0 then
echo "error ...."
quit
endiff
for /l %fn in (18,1,1155) gosub :dofile
set nDone = @regsetenv["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites",REG_SZ,%sFavs]
iff %nDone ne 0 then
echo "error ...."
quit
endiff
:: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites = d:\Charles_Favs
popd
quit
:dofile
START /pgm "C:\Program Files\Connected Software\ePreserver Recovery\EreW.exe" /WAIT ^ KEYSTACK enter alt-f shift-tab " " Del Y " " enter alt-n alt-n end up alt-n enter /w5400 alt-x
RETURN
======= end paste
======= begin paste
@echo off
:: handle all the PFC files in folder given below. Assume no emails in any PFC file.
pushd "C:\AOL_PFCs\All_Fav_PfCs"
:: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites = d:\Charles_Favs\Z_INPORT
set sFavs = @REGQUERY["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites"]
set nDone = @regsetenv["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites",REG_SZ,%sFavs+"\Z_INPORT"]
iff %nDone ne 0 then
echo "error ...."
quit
endiff
for /l %fn in (18,1,1155) gosub :dofile
set nDone = @regsetenv["HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites",REG_SZ,%sFavs]
iff %nDone ne 0 then
echo "error ...."
quit
endiff
:: HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Favorites = d:\Charles_Favs
popd
quit
:dofile
START /pgm "C:\Program Files\Connected Software\ePreserver Recovery\EreW.exe" /WAIT ^ KEYSTACK enter alt-f shift-tab " " Del Y " " enter alt-n alt-n end up alt-n enter /w5400 alt-x
RETURN
======= end paste