EasyFile/install.bat

12 lines
472 B
Batchfile

fltmc >nul 2>&1 || (powershell -Command "Start-Process '%~f0' -Verb RunAs" & exit /b)
mkdir %SystemRoot%\System32\EasyFile
for %%f in ("%~dp0bin\*.*") do @copy /y "%%f" %SystemRoot%\System32\EasyFile\
regedit /s "%~dp0src\EasyFile.reg"
regedit /s "%~dp0src\FastRegister.reg"
regedit /s "%~dp0src\QuickSettings\AddQuickSettings.reg"
RegisterAdd PathAdd.exe dir
RegisterAdd PathDel.exe dir
RegisterAdd PathSee.exe dir
PathAdd %~dp0binPathAdd %SystemRoot%\System32\EasyFile