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.
 
Back
Top