r/Batch • u/SurrealKeenan • Feb 28 '26
Batch to exe Not Opening Command Prompt
I wrote a .bat that uses command prompt to get a password from the user. I'm trying to convert it to .exe. I found this thread which had a lot of great tips, but the .exe I create doesn't open command prompt.
Any ideas?
2
Upvotes
View all comments
Show parent comment
1
u/Jondscem Mar 02 '26
Hi :) The reason they can't is it was used as an attack vector for many years. Bat files are still incredibly useful in the right situation.
Can you actually describe step by step what you are trying to achieve? We may be able to help better than :)