Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a batch which downloads latest folder and copying to a particular destination from particular Source path but Its dowloading the latest file among the available folder in source path even if the already copied/available in destination path.I want to avoid the repetation of copying same file .

share|improve this question
    
What OS are you using? It's hard to answer without knowing. – martineau Dec 19 '12 at 18:14
IF EXIST filename (
REM Do one thing
) ELSE (
REM Do another thing
)

Here is a link with help on IF statements. http://www.robvanderwoude.com/if.php

This is for windows batch files

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .