pipe multiple files into a single batch file (using explorer highlight)

后端 未结 5 1451
后悔当初
后悔当初 2021-01-14 19:50

I can already get a batch file to run when a user right clicks on a file type. How can I make it so that only one instance runs per highlighted group and gets all the files

5条回答
  •  终归单人心
    2021-01-14 20:47

    I'm guessing you have a group of highlighted files and you want to run some program for each file.

    @echo off
    for %%A in (%*) do echo %%A
    pause
    

提交回复
热议问题