Windows 7: BTEQ 13 and 14
Calling a batch file from end users machine shortcut, target is \\server\folder\file.bat, start in %temp% to prevent CMD prompt errors.
bteq < \\server\folder\commands.txt
commands.txt contains
login info
.EXPORT REPORT FILE=\\server\folder\output.csv
.RUN file \\server\folder\sql.txt
Problem: When shortcut is run, it outputs bteq 0<\\server\folder\commands.txt and breaks. (note the zero before the input)
in BTEQ, when just running the command straight from there bteq < \\server\folder\commands.txt everything works.
When everything is local, and shortcut points to a local batch file, with local commands, login, and sql files, it runs.
Thoughts/Suggstions?
Thank you.
Forums: