D
D
Dolvers2019-05-16 20:45:18
cmd/bat
Dolvers, 2019-05-16 20:45:18

How to enable and disable autoloading of any .bat file via cmd?

For example, the "fail.bat" file
only through the cmd line

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ronald McDonald, 2019-05-16
@Dolvers

copy /y "c:\file.bat" "%appdata%\Microsoft\Windows\Start Menu\Programs\Startup\"

For example.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question