I am having a problem with a shell that I cannot figure out. I am trying to communicate with a CLI app via shell like this:
Dim s As New Shell s.Mode = 2 s.Execute("C:\Users\Administrator\Desktop\PIOSOL~1.10\PIOSOL~2.EXE")
Now this works fine but when the program loads it gives me an error saying it cannot initialize as it cannot find any of its pref/dat files that are located in the same folder. If I just open the .exe it works fine but when I execute via a shell it will not. I think it has something to do with how shell paths work but not really sure.
Any help would be greatly appreciated.