xcopy in batch file

  • Thread starter Thread starter Joskin
  • Start date Start date
J

Joskin

Hi,

Before I log off, I run a batch file which uses XCOPY to backup recently
changed info.

I would like to run this file automatically at logoff and believe that I can
do this with WSH.

How do I call XCOPY from vbs ?

TIA

Joskin
 
Joskin,

You do not need to call this from VBS, if you have a working script just
use it as your logoff script.
Windows XP supports Start-up/Shutdown and Logon/Logoff scripts.
You can set your logoff script through the local policy editor.

--
Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 
Many thanks Mike

Joskin

Mike Brannigan said:
Joskin,

You do not need to call this from VBS, if you have a working script just
use it as your logoff script.
Windows XP supports Start-up/Shutdown and Logon/Logoff scripts.
You can set your logoff script through the local policy editor.

--
Regards,

Mike
--
Mike Brannigan [Microsoft]

This posting is provided "AS IS" with no warranties, and confers no
rights

Please note I cannot respond to e-mailed questions, please use these
newsgroups
 
Back
Top