Since the RBG11.EXE executable is not in the path, you may consider running the batch file in the folder with RBG11 installation, such as C:\RBTI\RBG11\
 
OR
 
Define the exact path of the RBG11.EXE in the command, such as:
 
QUERY PROCESS C:\RBTI\RBG11.EXE > Tester.txt
 
I hope that provides you with some blue's clues.
 
Very Best R:egards,
 
Razzak 
 
On 07/29/2024 12:51 PM EDT 'Erin.Rausch' via RBASE-L <[email protected]> wrote:
 
 
Good afternoon,
 
I'm working on implementing a routine that will stop then restart my morning routine if a program gets stuck. I have how I want to do it lined out but for some reason the .bat file I need to execute is not working like it should. It opens, looks like it works but the text file it writes to is empty. It works when I double click on it in file explorer, just not when I call it in my RBase program. 
 
Syntax to launch .bat file:
 
LAUNCH d:\rbase\data\RBASE_PID.bat || W
 
This is the code in my bat file:
 
d:
cd \rbase\data
query process rbg11.exe > tester.txt
exit
 
I have other programs that successfully call .bat files and I copied the syntax and double checked the file permissions were the same.
 
Does anyone has an idea of what to try next?
 
Thanks!
 

Erin Simon

 

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/bb0d0adb-d959-434c-a0ee-efbbaefb7c48n%40googlegroups.com.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/2090194800.1379538.1722285720491%40email.ionos.com.

Reply via email to