Drizzt DuOrden
Drizzt DuOrden

Reputation: 31

I want to run exe programs with a bat file. "Alarm Clock.exe" the bat file will be a basic short cut

i want to run exe programs with a bat file. "Alarm Clock.exe" the bat file will be a basic short cut but i will use the text to learn more about bat files. thanks for any help on this matter , it will help me learn a bit more about programing. Maybe with the whole text. D:\Program Files\alarm \Alarm Clock.exe example

@echo off start D:\Program Files\alarm \Alarm Clock.exe pause

im not sure

Upvotes: 0

Views: 583

Answers (2)

Tom Maier
Tom Maier

Reputation: 403

Insert Alarm Clock.exe in the batch file with quotation marks.

"Alarm Clock.exe"

Reason for the quotation: There is a blank in the file name.

Upvotes: 2

Matteo Italia
Matteo Italia

Reputation: 126867

There's not so much to learn... to run a program with a batch file you just write its name (usually without extension), prepended by its path if it's not in the batch file's working directory or in the PATH.

Upvotes: 0

Related Questions