@echo off set "source_file=C:\path\to\your\script.bat" set "startup_folder=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup" if exist "%source_file%" ( copy "%source_file%" "%startup_folder%" echo File successfully added to Startup. ) else ( echo Error: Source file not found. ) pause Use code with caution. Copied to clipboard How to use it
@echo off setlocal enabledelayedexpansion descargar archivo batch addbat para windows top
Example: GitHub.com/search?q=addbat