Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Again with AT command

Status
Not open for further replies.

Acosta

MIS
Dec 1, 2000
61
MX
Ok,
the last time that i was trying to use the at command I couldn't make it work.
I couldn't run a bat file that was in a different hard disk.
I gave the system account full access to that drive and I used the /interactive option... and the bat runs :)
But now I have another problem. This bat file is supposed to shutdown a database, whenever it runs it says that there's no server for that database but the database is working at that time. When I tryied to run another bat to serve the database, it seems that the program is looking for the *.db in the winnt\system32 folder.

How can I make that the program search in the folder that currently the *.db is?
Any ideas?
Thanks!!
 
ACOSTA,

An easy way to fix this might be to add the location of the *.db to the servers PATH.

set path=c:\database;c:\winnt ..etc

 
Thanks!!
I thought to do that but I find out that in the *.bat file the path for the database wasn't there so I just added to the _mproshut command and it worked.
Finally I got them running :)
Now I can run the backup correctly
Well, thanks for your help!
Acosta
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top