Advertisement
MrShadowDev

Untitled

Jan 11th, 2025
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.20 KB | None | 0 0
  1. @echo off
  2. set "source=\\path\to\file\share\yourscript.bat"
  3. set "destination=%APPDATA%\Microsoft\Windows\Start Menu\Programs\Startup\"
  4.  
  5. if exist "%source%" (
  6.     move "%source%" "%destination%"
  7. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement