0

I'm running the following Shell command from my VB.NET program:

Shell("C:\DATA\HData\MLData\MLMainBP100\bin\MLModel1_ConsoleApp1.exe daily nodate", AppWinStyle.NormalFocus)

I get the error:

'Could not find file C:/DATA/MyProgram/..../..../MLModel.zip'

It executes the file ok but the other files that MLModel1_ConsoleApp1.exe is using are in the same directory as MLModel1_ConsoleApp1.exe but its looking in the directory where the VB program is.

How can I solve this?

user2096512
  • 409
  • 1
  • 6
  • 15

0 Answers0