We use a system that produces a set of outputs....2 PDF files and multiple folders with different types of media items in each. One of the PDF files has links to the media files. All the runtime software for each media item in loaded on the computer.
The PDF file links to a vbs file that starts the media that is stored in the appropriate folder Since the folder names are always the same the code should be able to go there no matter where it is. The vbs code gets its own path and then modifies the path to the proper folder and file. It then starts the file (run). This is not working smoothly. The vbs computes the correct path to the file (as shown by MsgBox dialogs)but I keep geting cannot find file notifications.
Is there a way I can use VBS find the correct folder no matter where it is...on computer, server, or external hard drive? If it can, then can I CD (change directory or someting) so when I run the script it starts the file?
Thanks,
The PDF file links to a vbs file that starts the media that is stored in the appropriate folder Since the folder names are always the same the code should be able to go there no matter where it is. The vbs code gets its own path and then modifies the path to the proper folder and file. It then starts the file (run). This is not working smoothly. The vbs computes the correct path to the file (as shown by MsgBox dialogs)but I keep geting cannot find file notifications.
Is there a way I can use VBS find the correct folder no matter where it is...on computer, server, or external hard drive? If it can, then can I CD (change directory or someting) so when I run the script it starts the file?
Thanks,