by Shock Troop (1 Submission)
Category: Windows System Services
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 21st August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Very easy way to shell with associations.
'program will run. Not sure if this works on all Win versions.
'
'This will tunnel the file name into a batch file, then run the batch file.
'
'Shock Troop - David M. Lewis
Shell "ECHO C:\MYFILE.EXT >C:\TMP.BAT", vbHide 'Puts path in temp batch file.
Shell "C:\TMP.BAT", vbNormalFocus 'Runs the batch file.