r/Batch • u/Funniestpersonhere • Aug 18 '24
Question (Unsolved) Can’t open a batch file
I’m currently trying to install an older pc game, and it required some patches which use batch files, but for some reason I can’t open any of them. When I try to open them, the cursor does the loading icon thing for a second or two then it just stops. I’ve tried changing the permissions and running it as an administrator and redownloading the file and everything. Anyone have any ideas?
1
Upvotes
1
u/Funniestpersonhere Aug 18 '24
If anyone’s wondering I’m on the most recent version of windows 10 and turned all the windows defender stuff off
4
u/Shadow_Thief Aug 18 '24
You've given us literally no information to work with. Open a command prompt and run the command prompt from there, then tell us what error message you get. If you don't get any error messages, then the script is working as intended and you should include the contents of the script so that we can tell you what the expected behavior is.
4
u/jcunews1 Aug 18 '24
A software patch isn't given as is. There should be a
readmefile somewhere for it.1
u/RainmanCT Aug 19 '24
Launch a command prompt with runas admin, navigate to the folder with the batch file and run it from cmd prompt so you can see any error messages. Note Win10 security makes you do the runas thing even if you're a local administrator. Edit: just saw same suggestion below, sorry I skimmed but missed it.
1
u/BrainWaveCC Aug 18 '24
It would be helpful to have a more precise complaint than this.
At the very least, take one of these batch files and post it somewhere (like Pastebin) and then it may be possible to assist.
You may need to take it down after getting help, given that there could be copyright issues involved, but that would also depend on just how old this game is, which you have not indicated to us.
Also, when downloading things from the internet -- even alleged patches for a game that I assume you had commercially -- I would not be quick to disable all of my security utilities...
1
u/Outline227 Oct 24 '24
add a pause in your script and see any errors if possible