Batch file question.

PuyoDead

Hey! Hey! Oh!
Member
Joined
May 5, 2003
Messages
698
Trophies
0
Age
43
Location
Cincinnati, OH
Website
www.flickr.com
XP
388
Country
United States
If you mean so that it will only copy files that are "newer" than their previous files, then use -d

Normally, you'd use -d:date to copy anything newer than a certain date, but just using -d will overwrite anything that has a newer version than the file where it is being copied to. Anything that is the same file will be skipped.
 

test84

GBAtemp's last ninja 2.
OP
Member
Joined
Sep 8, 2006
Messages
3,698
Trophies
1
Website
gbatemp.net
XP
1,244
Country
Iran
thnx for ur answer.
that didnt work.
since it asks everytime to overrite a file or not and seems that its logic is not working too.

i want oppsite of /y switch, to use it to suppress the asking and copy whatever is newer on my flash disk and copy things are not on disk.

p.s. hope u dont ever get lost in translation.
 

PuyoDead

Hey! Hey! Oh!
Member
Joined
May 5, 2003
Messages
698
Trophies
0
Age
43
Location
Cincinnati, OH
Website
www.flickr.com
XP
388
Country
United States
First off, I meant to use /d not -d. Sorry, dumb error that. I'm not sure what you're using it for, but here's what I made a batch file for.

When I insert my MicroSD card, the menu that windows gives has the top option of backing up my saves. What it does, it copies every *.sav file on the card to a directory on my computer. If the file already exists, it only overwrites it if the save on my card is newer than the backup on my computer. Otherwise, it skips it.

Here's what's in my batch file:

xcopy /S /I /Y /D \*.sav C:\NDS\R4\Saves\Joe

This might help for switches and such. http://support.microsoft.com/kb/289483
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Skelletonike @ Skelletonike:
    There are different ways of fanservice
  • Skelletonike @ Skelletonike:
    the first manga I bought, was Psychic Academy, when I was like 12?
  • Skelletonike @ Skelletonike:
    That was good 2000s ecchi
  • Skelletonike @ Skelletonike:
    Great plot too
  • Vetusomaru @ Vetusomaru:
    psychic academy. lol. it was meh even back then when i bought volume 1. also same author also made one of the manga adaptions of Escaflowne.
  • Skelletonike @ Skelletonike:
    Pfffft!
  • Skelletonike @ Skelletonike:
    I have all the volumes.
  • Vetusomaru @ Vetusomaru:
    btw do u have discord?
  • Vetusomaru @ Vetusomaru:
    last tv anime i remember with nipples i personally watched was Senran Kagura
  • Skelletonike @ Skelletonike:
    yeah I do
  • Skelletonike @ Skelletonike:
    I mostly read, haven't watched much, but I do keep my cunchyroll sub.
  • Skelletonike @ Skelletonike:
    Found out one of my fave animes got an adaptation this season

    the other day lol
  • Skelletonike @ Skelletonike:
    Yuusha ga Shi
    nda
  • Vetusomaru @ Vetusomaru:
    crynchyrolls is cancer, especially with the censorship they do like they did with Oshimai
  • Vetusomaru @ Vetusomaru:
    can u post your discord here or at dm?
  • Skelletonike @ Skelletonike:
    No idea
  • Skelletonike @ Skelletonike:
    it's my username
  • Vetusomaru @ Vetusomaru:
    and number?
  • Skelletonike @ Skelletonike:
    it needs the number?
  • Vetusomaru @ Vetusomaru:
    okey dokey. i ve sent u friend request.
  • Vetusomaru @ Vetusomaru:
    i have same username with here
  • Skelletonike @ Skelletonike:
    alright, accepted
    +1
    Skelletonike @ Skelletonike: alright, accepted +1