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?
Moderators: GZDoom Developers, LZDoom Developers, UZDoom Developers
Forum rules
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
Please be as descriptive as possible in your posts (list your hardware and operating system, the version of the source port you are using, any mods you are running and how they're being loaded, etc.)
This will help others to give you a solution!
-
rat_taxi
- Posts: 2
- Joined: Thu Dec 12, 2024 11:08 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
-
Rachael
- Posts: 13971
- 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"
-
rat_taxi
- 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!
-
Rachael
- Posts: 13971
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Execute file/script from console while in-game?
You're welcome.