batch script - write all files found in one directory into one command line?
问题 I have a directory with a bunch of files with a mix of extension. I only want to work with files with extension *.abc. Each *.abc file should then be handed over to another software with some parameters. The parameters are always the same for each file. One of the parameters needs to be defined by the user, though. So my first try was this: @ECHO OFF set /p value="Enter required imput value: " for %%f in (*.abc) do ( START C:\"Program Files"\Software\startsoftware.exe -parameter1 "%%~nf.abc"