S
S
stugarin2021-03-01 10:13:38
Windows
stugarin, 2021-03-01 10:13:38

How to combine schtasks and start commands?

I want to combine these two commands so that the created task runs in a minimized window, like:

schtasks /create /sc once /tn note /tr "start /min notepad.exe" /st 00:00


But it doesn't work. Can anyone suggest how to properly combine?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
stugarin, 2021-03-02
@stugarin

schtasks /create /sc once /tn note /tr "cmd.exe /C start /min notepad" /st 12:41

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question