Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

%@REGQUERY function

Sep
101
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.

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.
--------------------------------------------------------------------------------------------------------------
 
Code:
echo %@regquery["HKCU\Software\Adobe\Acrobat Reader\11.0\AVGeneral\cRecentFiles\c1\tDIText"]
 

Similar threads

Back
Top