MS DOS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   Web Development Archives FAQs MS DOS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Web Development Archives Sponsor:
  #1  
Old May 11th, 2008, 08:20 AM
Larssie111 Larssie111 is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 2 Larssie111 User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 18 m 23 sec
Reputation Power: 0
Wait function

Hello
I'm 13 years old but i know VERY much of MS-DOS
But i have a question
How can i make a Wait function in ms-dos

@echo off
cls
echo Hello
Wait 1sec
exit

Or something like that...

Reply With Quote
  #2  
Old June 7th, 2008, 07:58 PM
myworldplz myworldplz is offline
Registered User
Dev Archives Newbie (0 - 499 posts)
 
Join Date: May 2008
Posts: 6 myworldplz User rank is Just a Lowly Private (1 - 20 Reputation Level)  
Time spent in forums: 2 h 23 m 29 sec
Reputation Power: 0
Got your answer ^_^

Well, basically the version of DOS on XP doesn't have a 'wait function'

However...

You can cheat by using this code:
Code:
ping -n time 127.0.0.1 >NUL

Ex. ping -n 10 127.0.0.1 >NUL = Waits ten seconds!


Pros: Works great and you can add it anywhere and it'll work great!
Cons: Can somtimes create a NUL File, blank, useless, and can just be deleted later.

Hope that helped
-Myworldplz

Reply With Quote
Reply

Viewing: Web Development Archives FAQs MS DOS > Wait function


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway