batでC:\Program Files (x86)フォルダ配下にある
old.exeを削除し、
msiインストーラーで新しいexeをインストールしたいです。
batを右クリック「管理者で実行」しても
old.exeは残ったままで
new.msiもインストールされません。
bat
1@echo off 2copy msifilepath c:\ 3cd C:\Program Files (x86)\file 4del old.exe 5cd c:\ 6msiexec.exe /I new.msi /quiet /norestart 7
自分で解決できなかったため
よろしくお願い致します。