如何创建Acrobat.exe
使用HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Acrobat.exe
和参数中的路径的快捷方式(也许使用NirCmd)/A "page=10" "file.pdf"
?
使用以下批处理文件:
@echo off
setlocal enabledelayedexpansion
rem query the registry to get the full path to acrobat
for /f "usebackq tokens=3*" %%a in (`reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ /s /f \Acrobat.exe ^| findstr Default`) do (
set _acrobat=%%a %%b
rem create the shortcut
nircmd shortcut "!_acrobat!" "shortcut_folder" "shortcut_name" /A "page=10" "file.pdf"
)
endlocal
笔记:
shortcut_folder
为要在其中创建快捷方式的文件夹的名称shortcut_name
为您要给快捷方式指定的名称本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句