just to complete your question, you can do it in R in one line. 

After setting the directory as your working directory, just type the following: 

```r
file.rename(list.files(pattern = "vcf"), paste0("A",1:length(list.files(pattern = ".vcf")),".vcf"))
```