Autoeng
Why me?
- Local time
- Today, 06:41
- Joined
- Aug 13, 2002
- Messages
- 1,302
Good morning Rob:
My batch which works is as follows:
md "c:\my documents" CR
copy s:\everyone\ecndatabase\BereaECN.mdb "c:\my documents\*.*" CR
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "c:\my documents\BereaECN.mdb" CR
/WRKGRP "s:\everyone\ecndatabase\Secured.mdw"
Each command is broken onto a new line. I also noticed that you have quotes around the copy statement "from directory" while I only have them around the directory to copy to.
I'm grasping here but I also have the batch file located on the server and access it via a shortcut (as our email security won't let me send a batch file but will allow a shortcut). I mainly did it so I could change the batch file and wouldn't have to redistribute it.
Today is your day. We WILL get this working.
Autoeng
My batch which works is as follows:
md "c:\my documents" CR
copy s:\everyone\ecndatabase\BereaECN.mdb "c:\my documents\*.*" CR
"C:\Program Files\Microsoft Office\Office\MSACCESS.EXE" "c:\my documents\BereaECN.mdb" CR
/WRKGRP "s:\everyone\ecndatabase\Secured.mdw"
Each command is broken onto a new line. I also noticed that you have quotes around the copy statement "from directory" while I only have them around the directory to copy to.
I'm grasping here but I also have the batch file located on the server and access it via a shortcut (as our email security won't let me send a batch file but will allow a shortcut). I mainly did it so I could change the batch file and wouldn't have to redistribute it.
Today is your day. We WILL get this working.
Autoeng