Autoexec.bat program needed.

  • Thread starter Thread starter Frank Martin
  • Start date Start date
F

Frank Martin

We run Access2000 and Word2000 with WindowsXP and there are databases and
letters in the My Documents folder. We want to copy these letters and
databases to another hidden folder on another disk partition, for backup
purposes.

We close our system down every night, and need a small Autoexec.bat program
to transfer copies of the above to the hidden folder just before the machine
powers down for the night. Can someone help us here?
Regards Frank.
 
Well, it's not exactly "autoexec.bat", but you can just string the
appropriate DOS shell commands together into a batch (plain text) file, and
call it whatever you would like.

For example:

cls
copy c:\data\*.* m:\*.*
exit

(assuming that "m:" is mapped to your target)

Then call this batch file as a logoff script over in "Group Policy".

HTH?
 
Back
Top