I work for a computer hardware business. They've got automated installations over a file server in their network, where they clone a Windows installation to a hard drive and then run Windows PE to finish it.
Before Windows PE starts, you have a customization menu written in BASIC. This script then copies, as stated, the Windows and initializes Windows PE.
Now I need to run another BASIC script when Windows PE has already started. I know there is a command file in the Windows folder, which is being executed when Windows PE starts up. So there is a single command line window which executes.
UNfortunatelly, I don't get BASIC to run. I have managed to include QBasic to Windows PE, but when I try to run it like qbasic.exe /run test.BAS
it tells me that this is not the right environment.
I also Googled for it, but couldn't find any way to get BASIC to run.
How can I run BASIC scripts in Windows PE?