Bat file "run" blocked?

Tom,
I really appreciate your effort in resolving this issue. Feel free to contact us again if you need any further assistance.
Regards,
Alok.

I have created a file (e.g., run_rainlender.bat) to "RUN" an exe file once I 'hit any key to continue'. The reason I do this is that Windows has to be FULLY LOADED into memory and the Internet active before this file executes properly. Before I installed AVG this file executed properly. Now, when I try tio run the bat, nothing happens when I hit a key to continue. I think AVG is blocking the execution of the "RUN" command in the BAT. Double-clicking on the Rainlender2.exe file itself does execute the program. Here is the file's contents.

run_rainlender.bat:
  pause
  run "C:\Program Files\Rainlendar2\Rainlendar2.exe"

Does anyone know how to resolve this?

Thanks.

That did not 'fix' the issue.

I added a secon 'pause' to see if there was any displayed 'error message' and it appears that "run" is no longer supported by batch files in Windows (Thanks Microsoft!!!). I also tried "start" but that did NOT seem to work either. I guess MS may be trying to kill off batch files!

Thanks, Tom

Hello Tom,
We are here to help you. May I know if the issue is resolved when AVG protection is disabled? Right click on AVG system tray icon and toggle the On/Off slider to disable AVG protection.
Regards,
Alok.

Hello Tom,
We are here to help you. May I know if the issue is resolved when AVG protection is disabled? Right click on AVG system tray icon and toggle the On/Off slider to disable AVG protection.
Regards,
Alok.

Okay. I found a solution which works. The "start" wants a Title ("") and then the file to run. Double Quotes are needed as there is a space in the folder name (bad, bad MS!!). Finally, the exit /b says to close the cmd window!

File: run_rainlender.bat
pause
start "" "C:\Program Files\Rainlendar2\Rainlendar2.exe"
exit /b