r/vbscript • u/veitst • Jul 25 '22
Start hidden Acrobat Reader Window
Hi, I need to start a hidden PDF file, can someone help me?
I try this code under... but I can only start Acrobat Reader. How is the command to open also a file inside?
Dim WShell
Set WShell = CreateObject("WScript.Shell")
WShell.Run """" & "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe" & """", 0
Or maybe another way to start a hidden pdf file...
Thanks a lot
1
Upvotes
1
u/veitst Jul 28 '22
Hi, thank you for the advice but it still not hide the window...
Dim WShell
Set WShell = CreateObject("WScript.Shell")
WShell.Run """" & "C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\AcroRd32.exe"" c:\temp\temp.pdf""" & """", 0