D
D
danilr2019-07-13 07:19:39
cmd/bat
danilr, 2019-07-13 07:19:39

How to go to the desired directory and execute a command in cmd using a bat file?

What to register so that bat goes to the desired directory and executes a command in cmd?
C:\Users\DC\Desktop\nginx-1.16.0 - where to go to
nginx -s stop what to execute in the console

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Moskus, 2019-07-13
@Moskus

https://ss64.com/nt/cd.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question