![]() |
|
|
#2
|
|||
|
|||
|
Да работает, вроде, все...
Во немного поправленный твой код (с привязкой к моим файлам)... Код:
echo Create temporary folder MD D:\MyTemp echo Copy files to the temporary folder copy C:\Demo\autoexec.bat D:\MyTemp copy C:\Demo\config.sys D:\MyTemp echo Show list files in the temporary folder dir D:\MyTemp pause echo Rename files to *.bak REN D:\MyTemp\*.* *.bak echo Show list files in the temporary folder dir D:\MyTemp pause echo Delete *.bak from the temporary folder del D:\MyTemp\*.bak echo Show list files in the temporary folder dir D:\MyTemp pause echo Delete temporary folder rd D:\MyTemp echo Show list files in the disk root dir D: pause |