Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
put the effective filename of this stack into tPath
set itemdelimeter to slash
delete last item of tPath
launch document "traspunto.exe p pia geo c 5032636 516047 WGS84 32 >res.txt"
the syntax of application traspunto.exe (traspunto.exe p pia geo c 5032636 516047 WGS84 32 >res.txt) is correct launched in command line
put the effective filename of this stack into tPath
set itemdelimeter to slash
delete last item of tPath
put shell(tPath&"\traspunto.exe p pia geo c 5032636 516047 WGS84 32 >res.txt")
...
put the effective filename of this stack into tPath
set itemdelimeter to "/"
put "traspunto.exe" into item -1 of tPath
## WINDOWS path delimiter!!!!!!
replace "/" with "\" in tPath
get shell(tPath && "p pia geo c 5032636 516047 WGS84 32 >res.txt")
put IT & CR & the RESULT
## Maybe this gives a hint in case it does not work?
...
>res.txt -> Do you have write permission in the folder with the stack?