jampeer Posted March 13, 2022 Author Share Posted March 13, 2022 15 minutes ago, HaraldL said: What happens if you create a text file like "DVBViewer.cmd" with the command as one long line in it and start it instead of a shortcut? Sorry, I don't quite understand what to do. How to run a text file. Quote Link to comment
HaraldL Posted March 14, 2022 Share Posted March 14, 2022 You just rename it from xyz.txt to xyz.cmd, then you can double click it like a shortcut and the command(s) in it will run. line by line if more than one. By default windows hides file extensions like .txt, showing the text file only as "xyz". In windows explorer settings you can disable the extension hiding to rename it properly (otherwise named as xyz.cmd.txt it won't run as command but still opened as a text file). See Wikipedia 1 Quote Link to comment
Griga Posted March 14, 2022 Share Posted March 14, 2022 vor 13 Stunden schrieb jampeer: I do it like this: "C:\Program Files (x86)\DVBViewer\DVBViewer.exe" -l "https://" -r "playlist1" -l "http://l" -r "playlist2" -l "http://" -r "playlist3" -l "http://" -r "playlist4" -l You can write the command line to a text file and save it, let's say as DVBViewer.txt. After that, you rename DVBViewer.txt to DVBViewer.cmd (cmd stands for "command"), so that Windows knows that it shall execute the line in the file when you double-click it. 1 Quote Link to comment
jampeer Posted March 14, 2022 Author Share Posted March 14, 2022 3 hours ago, HaraldL said: In windows explorer settings you can disable the extension hiding to rename it properly (otherwise named as xyz.cmd.txt it won't run as command but still opened as a text file). Thanks. Everything worked out. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.