Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i made a game with a . bat fileAren't .bat files Windows batch files containing Windows command lines? They are not games so not sure what you mean.
@echo off
set /a num=%random% %%100
echo I'm thinking of a number between 1 and 100...
echo Can you guess what it is?
set /p guess=
if %guess%==%num% goto win
if %guess% gtr %num% goto high
if %guess% lss %num% goto low
:win
echo Congratulations! You guessed the number!
goto end
:high
echo Too high! Try again.
goto try_again
:low
echo Too low! Try again.
goto try_again
:try_again
set /p guess=
if %guess%==%num% goto win
if %guess% gtr %num% goto high
if %guess% lss %num% goto low
:end
pause>nul
no want it to downloadYou could post it as a .txt extension so people could see the code. They could then copy to notepad and 'save as' changing name and extension to .bat
Code:@echo off set /a num=%random% %%100 echo I'm thinking of a number between 1 and 100... echo Can you guess what it is? set /p guess= if %guess%==%num% goto win if %guess% gtr %num% goto high if %guess% lss %num% goto low :win echo Congratulations! You guessed the number! goto end :high echo Too high! Try again. goto try_again :low echo Too low! Try again. goto try_again :try_again set /p guess= if %guess%==%num% goto win if %guess% gtr %num% goto high if %guess% lss %num% goto low :end pause>nul
View attachment 58731![]()
no want it to download
no want to download .bat fileYou could just "make" it a text file... for download, with instructions to rename it with a .bat extension.
You can use 7-Zip to put the .bat and any other files it may need (such as a readme.txt) in a self-extracting archive. Or just put them all in a single .zip file to download, and let then extract it themselves.i want people to be able to download my .bat game/file via the internet
www.wikihow.com
Nobody wants to download and run some random bat file from the internet, no matter how much you would like them to.no want to download .bat file
i solved it my self Pojken som försvann but it is in swedish. this is not a download link it is WordPress@rune1
We can't in good conscious help you with this.
You could be on the up and up, but you could also be trying to hack people.
We have no way of knowing which result you have in mind.
i solved it my self Pojken som försvann but it is in swedish. this is not a download link it is WordPressNobody wants to download and run some random bat file from the internet, no matter how much you would like them to.
I see no problem in creating a GitHub account and posting it there. There are thousands of scripts posted on GitHub in many different languages, including batch files. Anyone can then look at your code before downloading it, people can give you stars if they think it's worthy, and they can open issues if there's a problem or feature request.i want people to be able to download my .bat game/file via the internet
Just to clarify, that link takes you to a WordPress site which then includes a link to download the batch file game.i solved it my self Pojken som försvann but it is in swedish. this is not a download link it is WordPress
The OP already found a solution by making it available as a zip download from a WordPress page. I think it would have been better to post it to GitHub, but whatever.The biggest problem I've found with sharing a batch file with friends, etc., is that they are considered by most email servers as 'Executable' files that could be viruses, etc.