How to bat file in cmd command

are

Well-known member
Joined
Aug 20, 2018
Posts
75
For a program's setting change, I have to go to the relevant directory and run a code 3 times.

For this I have to go under cd C:\ProgramFiles\eyup\bin\admincmd and run the command in quotes "adprex.exe -rareadconfig" 2 times.

I want to write this as a bat file, how can I do it?

cd C:\ProgramFiles\eyup\bin\admincmd>adprex.exe -rareadconfig

Or should it be

cd C:\ProgramFiles\eyup\bin\admincmd
adprex.exe -rareadconfig
 
Back
Top