Hello. Is there a way to paste contents of certain file (ex., C:\1.txt) as new .txt files in {s}?
i want to copy file's contents. for ex., file 1.txt contains this lines:
Directory Opus 1
Directory Opus 2
Directory Opus 3
...
Directory Opus 1000
i want to create 1000 new .txt files, a copy of "FileType NEW=.txt FROMCLIPBOARD" command, but from file, not clipboard...
the basis of this question is here: DL from YT
may be there is a simpler and smarter way to paste video names from playlist directly to folder as empty .txt files?
i saw this thread. this is not that i need. I can only output video names to .txt file (let's say TEMP file), not to clipboard. Thus, using Paste empty file list, i need to open my .txt (temp) file, copy all its contents and call the script. too many actions...
That's why I requested help in this thread, combining its script with "FileType NEW=.txt FROMCLIPBOARD" command would be the best solution.
Is the 1.txt file needed after you've created the other files?
If not, you could skip the file creation/reading the file into clipboard and instead pipe the yt-dlp results into the clipboard: yt-dlp.exe ... | clip and work directly from that.
That thread was about reading one file's contents out of the file and into the clipboard. It didn't involve creating files. That's partly why I was initially confused about what you wanted to do.