我遇到的问题是在一个批处理文件中,最后我尝试打开两个资源管理器窗口,然后打开一个记事本 .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