Every time you run the "dir" command it "refreshes" the listing. Such a term is really kind of meaningless in the context of a command line, since every time you run the directory listing command it just reads whatever files are in the directory. So if some new file popped up between the last time you ran the command and now, it will show up.