Search found 7 matches

by Draginz
08 Jul 2010 20:54
Forum: DOS Batch Forum
Topic: Emulating the Keyboard output
Replies: 1
Views: 3501

Emulating the Keyboard output

I was wondering if there was a way to emulate the keyboard to press some keys in a batch file?
by Draginz
08 Jul 2010 14:59
Forum: DOS Batch Forum
Topic: If receives x, goto :x?
Replies: 5
Views: 4830

Re: If receives x, goto :x?

Oh yeah, and one more thing:
Can I hide the 'enter a or b' text?
Edit:
Nevermind, I found out how!
by Draginz
08 Jul 2010 14:49
Forum: DOS Batch Forum
Topic: If receives x, goto :x?
Replies: 5
Views: 4830

Re: If receives x, goto :x?

Ah, okay, thank you very much, that's very helpful!
by Draginz
08 Jul 2010 14:15
Forum: DOS Batch Forum
Topic: If receives x, goto :x?
Replies: 5
Views: 4830

Re: If receives x, goto :x?

Thank you for that command index link, it's very helpful. I was looking for something like that on the site.
But can I have it so that the input has more than one letter in it? That's what I was looking for.
by Draginz
08 Jul 2010 01:10
Forum: DOS Batch Forum
Topic: If receives x, goto :x?
Replies: 5
Views: 4830

If receives x, goto :x?

Is there a command like this? Where if, the batch requests some text, and if it matches the text it requested, then it proceeds?
by Draginz
07 Jul 2010 17:24
Forum: DOS Batch Forum
Topic: Timing a command
Replies: 2
Views: 3257

Re: Timing a command

There is no "wait" command in native batch. Most use the ping command. @echo off &setlocal color 4 echo Wait 10 seconds. ping -n 11 localhost>nul color 6 echo 10 seconds are gone. pause>nul number of pings = waiting time + 1 There is no command to open/close a CD/DVD drive. Regards aG...
by Draginz
07 Jul 2010 01:21
Forum: DOS Batch Forum
Topic: Timing a command
Replies: 2
Views: 3257

Timing a command

So I need help with timing something. I need to do this basically: color 4 time 10 /This is where the timing command would go color 6 /after ten seconds passed, it would execute the next command. So is there a command to do this or does it involve some sort of elaborate vacuum tube system? Oh, and w...