| View previous topic :: View next topic |
| Author |
Message |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sat Jul 28, 2007 10:01 am Post subject: [help PLEASE] BAT file (I've searched) |
|
|
Whenever I run a bat file I made, it immediatly closes. Help?? Even a simple one made to just put the word "Hi" on the screen closes immediatly. Is it something wrong witht he code?:
echo ON
echo.
echo Hi
echo. _________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06.
Last edited by Acim on Sat Jul 28, 2007 10:26 am; edited 1 time in total |
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Sat Jul 28, 2007 10:25 am Post subject: Re: BAT file |
|
|
| Acim wrote: | | Whenever I run a bat file I made, it immediatly closes. Help?? |
Add "pause" in the end of the file (without the quotation marks of course..).
Immediate closing of the window is a "feature." You can also try running your .bat from cmd prompt (Win+R->cmd->navigate to the cmd and run it.) |
|
| Back to top |
|
 |
Acim Grandmaster Cheater Supreme
Reputation: 0
Joined: 04 Jun 2007 Posts: 1948 Location: If anyone has a GMS DK and they don't need it I'll have it!!
|
Posted: Sat Jul 28, 2007 10:28 am Post subject: Re: BAT file |
|
|
| Jani wrote: | | Acim wrote: | | Whenever I run a bat file I made, it immediatly closes. Help?? |
Add "pause" in the end of the file (without the quotation marks of course..).
Immediate closing of the window is a "feature." You can also try running your .bat from cmd prompt (Win+R->cmd->navigate to the cmd and run it.) |
Thanks. I added pause. It worked great. But of course I also turned echo off. +rep _________________
I'm alive and well, but I quit CEF for a while. Legitly playing since Novemberish 07. Starting hacking October 06. |
|
| Back to top |
|
 |
Jani Grandmaster Cheater
Reputation: 2
Joined: 29 Dec 2006 Posts: 804
|
Posted: Sat Jul 28, 2007 11:22 am Post subject: Re: BAT file |
|
|
| Acim wrote: |
Thanks. I added pause. It worked great. But of course I also turned echo off. +rep | "pause > nul" works too :) Thanks for the rep. |
|
| Back to top |
|
 |
--Pillboi-- Grandmaster Cheater Supreme
Reputation: 0
Joined: 06 Mar 2007 Posts: 1383 Location: I don't understand the question. Is this a 1 to 10 thing?
|
Posted: Sat Jul 28, 2007 11:34 am Post subject: |
|
|
Or if you don't want to have to press anything and want it to wait for a certain amount of time, you can always use:
| Code: | | @ping 127.0.0.1 -n 2 -w 1000 > nul |
Replace 1000 with the amount of milliseconds you want it to wait for. This will wait for 1 second. Milli means a thousand, hence there are 1000 milliseconds in a second.
For example:
| Code: | echo OFF
echo Hello
@ping 127.0.0.1 -n 2 -w 5000 > nul
echo I just waited for 5 seconds. |
Would type "Hello", and then wait for 5 seconds, and then write "I just waited for 5 seconds".
It's not completely accurate, but it's pretty accurate.  _________________
Enter darkness, leave the light, Here be nightmare, here be fright...
Earth and Water, Fire and Air. Prepare to meet a creature rare.
Enter now if you dare, Enter now the dragon's lair. |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Jul 29, 2007 6:25 am Post subject: |
|
|
whats that ip and -n and -w for?
-w for wait?
whats the rest for..? |
|
| Back to top |
|
 |
DeltaFlyer Grandmaster Cheater
Reputation: 0
Joined: 22 Jul 2006 Posts: 666
|
Posted: Sun Jul 29, 2007 7:09 am Post subject: |
|
|
Type ipconfig -h in cmd, terminal, console, black box, etc., and read... _________________
Wow.... still working at 827... what's INCA thinking?
zomg l33t hax at this place (IE only). Over 150 people have used it, what are YOU waiting for? |
|
| Back to top |
|
 |
|