我可以 运行 使用 BQ 命令行工具从 Windows 命令提示符中的文件进行查询吗?

Can I run a query, using BQ command line tool, from a file in Windows command prompt?

我看到了 this 个问题,但给出的答案仅适用于 Linux/Mac。我知道这在 Powershell 中有效。有没有办法使用命令提示符在 Windows 上做同样的事情?

尝试如下

C:\Program Files (x86)\Google\Cloud SDK>echo SELECT 'Hello' > qq.txt

C:\Program Files (x86)\Google\Cloud SDK>bq query < qq.txt
Waiting on bqjob_r56213d80_0000015b20a3b653_1 ... (0s) Current status: DONE
+-------+
|  f0_  |
+-------+
| Hello |
+-------+

C:\Program Files (x86)\Google\Cloud SDK>   

这是 运行 在 Google Cloud SDK Shell 中