Well I haven't tried it on Windows but it is do-able in UNIX. May be DOS script can be something useful.
Additionally, following may be of some help:
- Put a marker in place of variable in BTEQ script (e.g. SELECT * FROM $Var1$) - Get input from DOS/Batch script (e.g. Table1) - Find and replace "$Var1$" to "Table1" in BTEQ script - Run the BTEQ script - Find and replace "Table1" to "$Var1$"