0

I have a .bat file that unzips a kml from a kmz. If I run the batch file again it prompts me if I want to replace the file. Is there away I can have it always replace the file without prompting the user or displaying a cmd window?

    @echo off
    md tempKml
    cd tempKml
    ..\unzip ..\%1 >nul 
    cd ..
    dir tempKml\*.kml /s/b
4

1 回答 1

0

Use the -o option?

..\unzip -o ..\%1 >nul
于 2013-03-07T22:35:54.900 回答