Batch files does not work fine

  • Thread starter Thread starter Cristian Olsen
  • Start date Start date
C

Cristian Olsen

Try this batch

IF EXIST C:\FOLDER-A\*.* DEL C:\FOLDER-A\*.*
COPY C:\FOLDER-B\*.* C:\FOLDER-A\*.*

CO
 
There are several bugs with regard to batch files or scripts.

On the first run of the script, (the one in which you are prompted whether
or not to allow the script to run)--the default folder in which the script
runs will be \system32, rather than the expected--which would be the folder
the script is found in.

Hmm - now I'm having a couple of problems--1) remembering the other
issue(s?) with scripts, and 2) seeing what is going to go wrong with this
one--it is working just fine on my machine, except that I'm not getting
prompted, so I suspect something is amiss with real-time protection--but all
checkpoints and agents are shown as active in the UI.

I'll test this on another machine later tonight.
 

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

Back
Top