Search found 2 matches

by dtmenges
29 Jun 2023 05:23
Forum: DOS Batch Forum
Topic: Timeout not working in file-works in command line
Replies: 2
Views: 3655

Re: Timeout not working in file-works in command line

How about that! Renamed to test.bat and everything is just peachy.

Thanks, Jeb.

Dave
by dtmenges
28 Jun 2023 19:04
Forum: DOS Batch Forum
Topic: Timeout not working in file-works in command line
Replies: 2
Views: 3655

Timeout not working in file-works in command line

I am having a problem using timeout in a batch file. It seems to go into some sort of loop. When I put the following code in a batch file, it just continuously echos "Hello World" until I Ctrl-C to end. @echo off echo Hello World timeout /T 5 pause I've tried this on both Window 7 and Windows 10 wit...