I am using the following code to open a .bat file in a Excel VBA macro.
RetVal = Shell("C:\MyMonitor\Monitor\startMonitorLinux.bat", 1)
The code opens the command window but I get a path not recognized error. If I go to the file directly and double click it the file opens without a problem. Please help
FYI I am still learning VB so please keep any responses in laymens terms