Nf.zip -

: It is often used to group files that share a name but have different extensions (e.g., a .cue and .bin game file or .shp and .shx geographic data) into a single archive named after the base file.

: If you have a folder full of text files ( file1.txt , file2.txt ), a batch script using %~nf.zip will create file1.zip and file2.zip rather than file1.txt.zip . NF.zip

To use this in a ( .bat ), the variable must use double percent signs: : It is often used to group files