Computer Hope

Microsoft => Microsoft DOS => Topic started by: Sky Ninja on October 02, 2008, 09:36:15 PM

Title: Batchfile executing commands from a text file
Post by: Sky Ninja on October 02, 2008, 09:36:15 PM
Is it possible for a batch file to read a text file and execute it's contents (all of them) in the same window?
Title: Re: Batchfile executing commands from a text file
Post by: BC_Programmer on October 02, 2008, 09:41:11 PM
copy the text file into a batch file.
CALL the batch file
erase the temporary batch file.
Title: Re: Batchfile executing commands from a text file
Post by: Sky Ninja on October 03, 2008, 12:42:59 PM
in the same window
I need it to be in the same window. Is it possible?
Title: Re: Batchfile executing commands from a text file
Post by: BC_Programmer on October 03, 2008, 05:54:50 PM
The steps I gave you will be in the same window.
Title: Re: Batchfile executing commands from a text file
Post by: Sky Ninja on October 07, 2008, 08:34:25 PM
Oh, sorry. Thank you.