'How to run bat file with shell function in VB.NET without showing command

I need to run exe file on command prompt to pass some parameters and in the code of exe file i have run a bat file using VB.NET built-in shell method, but when run exe file on command prompt the shell method seems printed the entire code of the bat file out into cmd, this is not allowed. Example:

Shell("any code and path to file", AppWinStyle.Hide)

Note: I have to run this bat file with shell method of VB.NET



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source