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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

xcopy file with time stamp 1
xcopy files older week 2
xcopy /d date-switch not detected? 2
SP2 -vs- XCOPY 3
batch file question 2
XCOPY Across A Network? 3
xcopy batch 8
XCOPY FILE TO COPY MY DOCUMENTS FOLDER 3

Back
Top