我遇到的问题是在批处理文件中,最后我尝试打开两个资源管理器窗口,然后用记事本.txt文件与从一个文件夹复制文件的说明到另一个。批处理文件 - 按特定顺序打开文件
当我执行批处理文件时,.txt文件将在两个资源管理器窗口之间打开,当我希望打开它时。有没有办法做到这一点?感谢您的时间!
explorer "C:\program files (x86)\SEL\SEL5010"
explorer C:\users\public\temp\SEL5010
ECHO. >>C:\users\public\temp\SEL5010\Instructions.txt
ECHO Hello %username%, >>C:\users\public\temp\SEL5010\Instructions.txt
ECHO. >>C:\users\public\temp\SEL5010\Instructions.txt
ECHO Copy SEL5010.lic >>C:\users\public\temp\SEL5010\Instructions.txt
ECHO. >>C:\users\public\temp\SEL5010\Instructions.txt
ECHO FROM: The C:\users\public\temp\5010 folder.
ECHO TO: The C:\Program Files (x86)\SEL\SEL5010 folder.
notepad C:\users\public\temp\SEL5010\Instructions.txt
尝试更换'notepad'用'explorer'也。为了使这个工作正确,你需要深入一些东西,然后进行批处理。 –