Oma I'm not sure this will get you what you want, but it may simplfy this a lot more. Look under the RBG65.EXE in the RSYNTAX - HTML HELP. Under there you can see that you can call RBase with certain parameters. The -O and the filespec are the ones to use to make life easier than copying over files and back again and such. If you called *** RBG65.EXE -OC:\Dir_CFG\RBASE.CFG -R C:\File2Run\rbase.cur *** from you batch file, then RBase will run the rbase.cur file once it starts. The way we use this most is that we have and ascii file with just 2 lines -- Line 1 = RUN SOandSO in SOandSO.APX Line 2 = RETURN SO the rbase.cur or what we call them in our case SOandSO.dat. Then in a compiled APP file the first COMMAND block would be $COMMAND SOandSO --Lines to execute RETURN I'm sure you could do this within the dat file itself since you are not doing anything like calling user inputs by using pause/forms/etc... Oma Cox wrote: > > I'm using AT service in NT 4.0 Server(SP5) to run Rbase 6.5 Windows to > perform a automatic backup and verification routine. > > I'm setting the AT this way: > Option 1 > at 21:00 /every:M,T,W,Th,F,S "d:\bat\autoback.bat" > Option 2 > at 21:00 /every:M,T,W,Th,F,S cmd /c "d:\bat\autoback.bat" > > but not both at the same time! > > Autoback.bat is like this: > > rem rename current rbase.dat to rbase.cur to hold normal login settings > rename d:\newdixie\rbase.dat rbase.cur > > rem rename rbase.bak to rbase.dat for automatic backup settings > rename d:\newdixie\rbase.bak rbase.dat > > rem start rbase > start "Rbase Backup" /dd:\newdixie /high /wait rbg65.exe > > rem rename rbase.dat to rbase.bak to hold automatic backup settings > rename d:\newdixie\rbase.dat rbase.bak > > rem rename rbase.cur to normal login settings > rename d:\newdixie\rbase.cur rbase.dat > > exit > > The rbase.dat is the normal login startup and the rbase.bak is the > autobackup routines. > > I can run the autoback.bat at the command prompt(window) and it runs fine. > But if it is run from the AT command(using either options above) it hangs > and does not complete the batch file! Rbase remains as a process but not as > an application in task manager. > > Does anyone have any suggestions or alternatives??? The client wants to > eliminate the human element for running this routine.(their people can never > remember to run this each afternoon before they go home) > > Thank you, > Best regards, > > Oma Cox
