Yes, because that's an exe in the default file path of Windows (the "%PATH%" environment variable). Press Win+R, type "notepad.exe" and hit Enter. It'll also work, because it's in %PATH%.
RunProgram() without parameter in IDE
Re: RunProgram() without parameter in IDE
On Windows "" will result in the current drive and directory which then in return will execute the explorer as the default program.
Re: RunProgram() without parameter in IDE
I agree with all of you, I just was puzzled by the different behavior of running it in the IDE versus stand alone executable, that's all
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )
Re: RunProgram() without parameter in IDE
This
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
( The path to enlightenment and the PureBasic Survival Guide right here... )