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: | 300 |
Nodes: | 16 (0 / 16) |
Uptime: | 113:16:30 |
Calls: | 6,701 |
Calls today: | 1 |
Files: | 12,235 |
Messages: | 5,348,851 |