OutFile "Test.EXE" Name "Test" Section Rename "C:\Program Files\Test.txt" "C:\Test.txt" SectionEnd
2.在不同分区可以使用命令行的Move命令:
OutFile "Test.EXE" Name "Test" Section nsExec::ExecToLog 'cmd /c move "C:\Test.txt" "D:\Test.txt"' SectionEnd