Can you run Windows batch file not in a command prompt? -
my programming teacher requiring participate in science fair year, , accept computer-related projects. so, knowing 1 language (windows batch), asked if make kind of text based game in batch code. said can write code, not execute it.
she said if we're caught on command prompt, apparently in big trouble , never access school computer rest of time i'm @ high school, or that... if code contains bunch of echos , simple variables, won't let me , partner run it. said must work on project during school in class.
so sum up, she's letting me write game/program, i'm not allowed test make sure works in school, when i'm writing most...
so there way run/test batch script simple echo , set /p commands without "dangerous, black command prompt" showing up?
i think has no idea she's talking about, because on board, wrote "back script" lol
a batch file runs other executable file double-clicking file within windows. however, because batch file runs in command line exits when done, may see black box second.
if batch file closing fast, or want read output batch file can edit batch file , add pause end of file. pause command waits user input before continuing.
a .bat
file can made .exe
or .com
file keep program's source hidden user. use .bat .exe converter file convert batch files .exe
file. in program can point batch file want convert executable file, include additional files, change icon of file, , add file details.
for information on batch files, 1 of best resource.
Comments
Post a Comment