Visual Basic Script to Open File

July 17, 2015

This visual basic script can be used to open any file on your PC.   Just enter the file path in space shown in blue below:


Set WshShell = CreateObject("WScript.Shell")

WshShell.Run """\\pbwt.local\nyc01\UserShares\MyHome\osheas\Documents\B_Obama_2013.pdf"""


Put this script in a text file, save, and then change the extension to 'vbs' and double-click it.  The file will open.



Please reload

Contact Me With Your Litigation Support Questions:

  • Twitter Long Shadow

© 2015 by Sean O'Shea . Proudly created with