Skip to content

Instantly share code, notes, and snippets.

@dakom
Last active August 29, 2015 14:16
Show Gist options
  • Save dakom/b9c2faaadbf005e4ccc5 to your computer and use it in GitHub Desktop.
Save dakom/b9c2faaadbf005e4ccc5 to your computer and use it in GitHub Desktop.
Open a bunch of files named in "list.txt" at once (files should be full paths with newline- opened with notepad++)
@echo off
setlocal enableextensions enabledelayedexpansion
set LIST=
for /f %%x in (list.txt) do (
set LIST=!LIST! "%%x"
)
echo %LIST%
"C:\Program Files (x86)\Notepad++\notepad++" %LIST%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment