Search found 1 match

by hellishvictor
10 Apr 2022 10:35
Forum: DOS Batch Forum
Topic: FOR loop with selected files
Replies: 0
Views: 33759

FOR loop with selected files

Hi, with the following line in a batch file I want copy the name and extension of the selected files to the clipboard, but the thing is that if have selected three files, it creates three instances of cmd. How can I make it do all the task in only one cmd instance? FOR %%g in (%~nx1) do echo %%g|cli...