Hi all,
I'm trying to open Acrobat.exe with WSH 5.6. Should be pretty easy right? lol My first problem was I had Acrobat 6.0, Acrobat 7.0 and Acrobat 8.0 all installed on my machine and I needed to browse into a sub folder of Acrobat 8.0. So the first thing I did was remove 6.0 & 7.0. Now I only need to worry about the 8.0 folder.
The only problem is WHS still can not find the folder. I've tried every combination of \acro~1 that I can with differing amounts of the word there and it still does not find it. It does not find \acrobat 8.0\ I think because of the space between t and 8.
The ~1 also does not work in my DOS shell.
Can someone speak to how the ~1 works and exactly what it does.
This is my line of code BTW:
[
WshShell.Run "C:\Progra~1\Adobe\Acrobat 8.0\Acrobat\ACROBAT.EXE"
]
It gets through Program Files fine, but not when I use a ~1 in the Acrobat 8.0 folder.
It seems like my only option now is to use the BrowseForFolder method or the SysDialog FileRun method.
Any other ideas?
Chris