- Jun
- 570
- 4
Can someone tell me what I am doing wrong here? I defined an executable extension for LUA, but it doesn't seem to work. However, the very command line reported by WHICH runs just fine. Here is a series of commands:
tcmd>set .lua
lua
tcmd>which test
test is an executable extension : lua C:\commands\lua\test.lua
tcmd>test
Lua: C:\Program Files\JPSoft\TCMD16x64\TCC.EXE:1: syntax error near char(144)
tcmd>lua C:\commands\lua\test.lua
a b
tcmd>set .lua
lua
tcmd>which test
test is an executable extension : lua C:\commands\lua\test.lua
tcmd>test
Lua: C:\Program Files\JPSoft\TCMD16x64\TCC.EXE:1: syntax error near char(144)
tcmd>lua C:\commands\lua\test.lua
a b