D
D
Dima_E2022-02-20 09:01:56
Windows
Dima_E, 2022-02-20 09:01:56

How to run cmd with at PC startup and pass commands?

I'm a nerd and sometimes I need to restart my computer, but I don't want to run scripts all the time.
There is a lot of information on the Internet, but I could not figure it out myself. (by type there is where to write, but I don’t know what to write)
Two problems.
1. Launch Pw or CMD after starting the computer
2. Pass arguments to run the program say 2 lines change directory launch exe .

In 1 case, 2 options are offered through local and domain policy,
through 1 I demanded to log in as a domain, which I don’t want to deal with.
in 2 I know where to write, but I don’t know what to write, what the syntax looks like and what the launch looks like.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Drno, 2022-02-20
@Drno

Bat file to make it run with the necessary parameters and put it in the Windows scheduler

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question