Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Hi,
I need to create a batch file that pauses for, say 10 seconds, before opening a single program.
This is what I have so far:
@echo off
"C:\Program Files\Sony Handheld\HOTSYNC.exe"This does indeed launch the application. However, I need a pause before it launches. I've tried "choice /ck /t:k,10", which I found while searching. This command isn't recognized, however.
Also, the command window does not close when the EXE launches. How do I get that windows to close immediately? Thanks!

I tried this line in order to have the command window clos after HOTSYNC.exe runs:
Start "C:\Program Files\Sony handheld\HOTSYNC.exe"
Unfortunately, now HOTSYNC.exe doesn't run at all. Now, when I execute the .bat file, it just opens a
command window at C:\Documents and Settings\Jumpyg\Desktop, which is where the
.bat file is located. The HOTSYNC.exe application doesn't launch at all now.What am I doing wrong?

"What am I doing wrong?"
You are asking your question in a WRONG forum! Please read the following thread for more information:
http://www.computing.net/dos/wwwboard/forum/14633.html
Also, please check IVO's mail. But if it doesn't work, please post your question in the CORRECT forum, as the warning messages of this forum say!
---------------
Long Live DOS!

I posted here because I saw an earlier message when I was searching that suggested posting batch file questions to the DOS forum.
http://computing.net/windowsxp/wwwboard/forum/28101.html
So, who am I supposed to believe?

Well, you can believe some random poster from a 2 year old message - or the current instructions that appear before your eyes as you're posting.
No offense, and good luck with your question.
Better to remain silent and be thought a fool than to speak
out and remove all doubt.

Some people could ask where to download copyrighted software in this forum 2 years ago, but currently they can't. The policy of this forum has changed in the last a few years.
---------------
Long Live DOS!

This topic has been redirected to the Windows XP Forum:
http://www.computing.net/windowsxp/wwwboard/forum/98455.html
Lots of responses in there, aren't there?
---------------
Long Live DOS!

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |