Hello all, first post. Long time listener first time caller. etc.
Is it possible to execute a .bat file or script from the console that's within the running GZDoom directory? Say I've got a .bat file with a set of commands that I'd like for the console to execute in sequence, each separated with a carriage return - is this possible to do? I've tried [>.\file.bat] and the like, but no dice.
I've played around with the console commands and read some documentation, but haven't found anything concrete.
Any suggestions?
Execute file/script from console while in-game?
Moderator: GZDoom Developers
Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!
If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.
We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
-
- Posts: 2
- Joined: Thu Dec 12, 2024 11:08 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
-
- Posts: 13835
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Execute file/script from console while in-game?
Try "exec file.cfg"
-
- Posts: 2
- Joined: Thu Dec 12, 2024 11:08 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
Re: Execute file/script from console while in-game?
Rachael wrote:
> Try "exec file.cfg"
Exactly what I was looking for - thank you so much!
> Try "exec file.cfg"
Exactly what I was looking for - thank you so much!
-
- Posts: 13835
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Execute file/script from console while in-game?
You're welcome.