Hello all,
On XPsp3:
I'm trying to use Kernel32's "CreateProcess" to run executable stuff, and have a problem : I'm only providing the commandline (lpApplicationName is NULL), and although it works well enough for an executable (and a .BAT file, rather unexpected), it balks when I supply it a .VBS file.
... it works well enough for an executable ..., it balks when
I supply it a .VBS file.
Because the kernel uses the `PATHEXT` environment variable. Similar
to how it uses the `PATH` and other environment variables.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 379 |
Nodes: | 16 (2 / 14) |
Uptime: | 42:49:47 |
Calls: | 8,141 |
Calls today: | 4 |
Files: | 13,085 |
Messages: | 5,857,851 |