更新时间:2022-01-25 05:00:12
如果它在 cmd.exe 中,使用临时文件是唯一的选择 [据我所知]:
cmd.exe
If it's in cmd.exe, using a temporary file is the only option [that I know of]:
python -c "print(\"Hi\")" > temp.cmd call temp.cmd del temp.cmd
相当于java中的eval()函数
Windows 相当于 UNIX pwd
相当于 PowerShell 中的 Unix 时间命令?
相当于 Windows 中的 Unix eval
相当于Visual C ++中的UNIX __WORDSIZE
Windows相当于UNIX pwd
将当前时间从 Windows 转换为 C 或 C++ 中的 unix 时间戳