启动数据库ved AT.exe [英] Start database ved AT.exe

查看:53
本文介绍了启动数据库ved AT.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨Ng


当我使用AT.exe安排工作时我写道:

at.exe 22:54 /每个:24 " C:\test.bat"这个工作非常完美。


在bat文件中我写道:


copy c:\ Testst.mdb c:\ testfolder(我将测试数据库从C复制到

C:\ testfolder)


然后当我将test.bat文件更改为:


" C:\ Programr \ Microsoft Office \ OFFFFICE11 \ msaccess.exe" " C:\TestDB.mdb" (我

激活测试数据库) - 这不起作用!!!!


当我双击bat文件时它可以工作/>

TIA

jj

Hi Ng

When I use the AT.exe to schedule a job and I write:
at.exe 22:54 /every:24 "c:\test.bat" this job works just perfect.

In the bat file I have wrote:

copy c:\TestDB.mdb c:\testfolder (I copy the Test database from C to
C:\testfolder)

Then when I Change the test.bat file to:

"C:\Programmer\Microsoft Office\OFFICE11\msaccess.exe" "C:\TestDB.mdb" (I
activate the test database) - This doesn''t work!!!!

It works when I double click the bat-file

TIA
jj

推荐答案

* jj:
嗨Ng

当我使用AT.exe安排工作时,我写道:
at.exe 22:54 / every:24" c:\ test.bat" ;这个工作非常完美。

在bat文件中我写道:

复制c:\ Testdb.mdb c:\ _tlfolder(我从中复制Test数据库) C to
C:\ _topfolder)

然后当我将test.bat文件更改为:

C:\Programmer \ Microsoft Office \OFFICE11\msaccess.exe" " C:\TestDB.mdb" (我激活测试数据库) - 这不起作用!!!!

当我双击蝙蝠文件时它可以工作

TIA
jj
Hi Ng

When I use the AT.exe to schedule a job and I write:
at.exe 22:54 /every:24 "c:\test.bat" this job works just perfect.

In the bat file I have wrote:

copy c:\TestDB.mdb c:\testfolder (I copy the Test database from C to
C:\testfolder)

Then when I Change the test.bat file to:

"C:\Programmer\Microsoft Office\OFFICE11\msaccess.exe" "C:\TestDB.mdb" (I
activate the test database) - This doesn''t work!!!!

It works when I double click the bat-file

TIA
jj




这是一个完整的猜测,但也许值得一试。将TestDB.mdb放在

目录中。 (C:\temp\TestDB.mdb)。也许调度程序有问题

写入C:\。这可以解释为什么它适用于登录用户。


-

Randy Harris

tech at promail dot com

我很确定我知道我记得的一切。



This is a complete guess, but maybe worth a try. Put the TestDB.mdb in
a directory. (c:\temp\TestDB.mdb). Maybe the Scheduler has trouble
writing to C:\. That would explain why it works for a logged in user.

--
Randy Harris
tech at promail dot com
I''m pretty sure I know everything that I can remember.


谢谢Randy


不幸的是它不起作用:-(


/ Jj

" Randy Harris"< pl **** @ send.no.spam> ; skrev i en meddelelse

news:dn ******************* @ newssvr13.news.prodigy.com ...
Thanks Randy

Unfortunately it doesn''t work :-(

/Jj
"Randy Harris" <pl****@send.no.spam> skrev i en meddelelse
news:dn*******************@newssvr13.news.prodigy. com...
* jj:
嗨Ng

当我使用AT.exe安排工作时我写道:
at.exe 22:54 / every:24" c:\ test.bat"这个工作非常完美。

在bat文件中我写道:

copy c:\ TestDDB .mdb c:\ _tlfolder(我将测试数据库从C复制到
C:\ testfolder)

然后当我将test.bat文件更改为:
< br:> C:\ Programr \ Microsoft Office \ OFFFF11 \\ msaccess.exe"" C:\ Testst.mdb"
(我激活测试数据库) - 这不起作用!!!!

当我加倍时,它有效点击蝙蝠文件

ç
Hi Ng

When I use the AT.exe to schedule a job and I write:
at.exe 22:54 /every:24 "c:\test.bat" this job works just perfect.

In the bat file I have wrote:

copy c:\TestDB.mdb c:\testfolder (I copy the Test database from C to
C:\testfolder)

Then when I Change the test.bat file to:

"C:\Programmer\Microsoft Office\OFFICE11\msaccess.exe" "C:\TestDB.mdb"
(I activate the test database) - This doesn''t work!!!!

It works when I double click the bat-file

TIA
jj



这是一个完整的猜测,但也许值得一试。将TestDB.mdb放在
目录中。 (C:\temp\TestDB.mdb)。也许调度程序无法写入C:\。这可以解释为什么它适用于登录用户。

- Randy Harris
技术在promail dot com
我很确定我知道一切我记得。



This is a complete guess, but maybe worth a try. Put the TestDB.mdb in a
directory. (c:\temp\TestDB.mdb). Maybe the Scheduler has trouble writing
to C:\. That would explain why it works for a logged in user.

--
Randy Harris
tech at promail dot com
I''m pretty sure I know everything that I can remember.



> C:\ Programr \ Microsoft Office \ OFFFFICE11 \ msaccess.exe" C:\ TestStation.mdb
> "C:\Programmer\Microsoft Office\OFFICE11\msaccess.exe" "C:\TestDB.mdb"
(我激活测试数据库) - 这不起作用!!!!

双击时它有效bat-file
(I activate the test database) - This doesn''t work!!!!

It works when I double click the bat-file



尝试在批处理文件中更改该行,在其前面加上CALL批处理

语句。


-

PBsoft di Gabriele Bertolucci
www.pbsoft.it

skype:pbsoftsolution



Try to change that line in the batch file, preceding it with the CALL batch
statement.

--
PBsoft di Gabriele Bertolucci
www.pbsoft.it
skype: pbsoftsolution


这篇关于启动数据库ved AT.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆