- Sep
- 105
- 1
I am trying to use the %@REGQUERY function to read the filename of the most recent file viewd in Adobe Reader XI.
Using Windows REG.EXE as shown below I get the wanted result, but I cannot find the correct way of using the %@REGQUERY function to do the same.
Output:
--------------------------------------------------------------------------------------------------------------
HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles\c1
tDIText REG_SZ /E/DocBoss/Archive/BatchPDF/BATCH-2013-04-19--08-47-11-080348.pdf
End of search: 1 match(es) found.
--------------------------------------------------------------------------------------------------------------
Using Windows REG.EXE as shown below I get the wanted result, but I cannot find the correct way of using the %@REGQUERY function to do the same.
Code:
reg query "HKCU\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles\c1" /v tDIText /s
Output:
--------------------------------------------------------------------------------------------------------------
HKEY_CURRENT_USER\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles\c1
tDIText REG_SZ /E/DocBoss/Archive/BatchPDF/BATCH-2013-04-19--08-47-11-080348.pdf
End of search: 1 match(es) found.
--------------------------------------------------------------------------------------------------------------