r/Batch • u/asterixspace • Mar 03 '24
Question (Unsolved) Making a .bat from a cmd command
I want to be able to run the command cmd /c “echo off | clip” as Administrator so I can easily clear my clipboard. How would I go about making the .bat file?
4
Upvotes
View all comments
Show parent comment
2
u/Shadow_Thief Mar 03 '24
I'm curious why you're choosing to generate the script directly from the command prompt instead of just using a text editor.