Page is a not externally linkable
- Microsoft
-- (deprecated) Microsoft Windows OS (XP/NT/Vista)
---- MS DOS move


andrewsmd - 3:59 pm on Sep 26, 2008 (gmt 0)


I have a batch file that calls an FTP script and downloads files to a temporary folder. At the end of my batc file after the FTP script has ran, I have a move command i.e. move *.* "C:\some folder\" Now sometimes files land in this folder with the same name. Is there anyway to run that move command, but not move the file if that filename is already in the folder. What I mean is say I have three files in the download temp
tempFile1.txt
tempFile2.txt
tempFile3.txt
Now I'm moving them to "some folder" with the command move *.* "C:\some folder\" let's say that tempFile1.txt already exists in "some folder" is there anyway for me to skip that move but still move tempFile2.txt and tempFile3.txt? Thanks,


Thread source:: http://www.webmasterworld.com/microsoft_windows_os/3752772.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com