我的代码如下:
@echo off
start /d "C:\Users\tawfik\Desktop\ZC90 - Copy" zc90.xls
start /d "C:\Users\tawfik\Desktop\ZC90 - Copy" zc90p.xls
start /d "C:\Users\tawfik\Desktop\ZC90 - Copy" zl10.xls
@echo off
当excel文件打开时,它会显示一条带有yes,no或cancel选项的消息,我希望代码自动回答每个文件的“是”。
答案 0 :(得分:0)
@echo off
explorer "C:\Users\tawfik\Desktop\ZC90 - Copy\zc90.xls"
explorer "C:\Users\tawfik\Desktop\ZC90 - Copy\zc90p.xls"
explorer "C:\Users\tawfik\Desktop\ZC90 - Copy\zl10.xls"