paudashlake Guest
|
 |
« on: June 14, 2008, 08:38:20 AM » |
|
|
|
|
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #2 on: June 14, 2008, 09:22:01 AM » |
|
Sorry, I'm horribly boring ATM but.. why not include color 0A an some random binary with just a few human readable lines in between. display the DIR tree of your C:\windows or so in the process. Let it all run for half a minute and then end with paudashlake's message  Should get any non-geek rattled at boot time. (edit) *censored*, now I caught myself trying. Problem is i don't know how to efficiently create random binary lines without typing them manually in the code first
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #4 on: June 15, 2008, 06:44:44 AM » |
|
Is it possible to run a batch file full screen? I have tried the most horrible way imaginable to do so which was running it with a VBS script followed by an alt-enter sendkeys but.. it didn't even work. would be cool to have such a startup script run fullscreen immediately Also, the tree command gives some nice confusing output to the non geek, is there a way to make it change color like your code WHILE it runs?
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #6 on: June 15, 2008, 07:01:19 AM » |
|
Tnx for the quick answer. Unfortunate, but kinda expected. As your example indicates 
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #8 on: June 15, 2008, 07:09:57 AM » |
|
No no!, THAT's perfectly possible 
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
Sidewinder
Thanked: 97 Posts: 4,342
Experience: Familiar OS: Windows 7
|
 |
« Reply #9 on: June 15, 2008, 07:10:14 AM » |
|
There is a sleep command that comes with the Win2003 Resource Kit or you can make do with the poor man's ping command: @echo off
for %%a in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( for %%b in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( color %%a%%b echo All Your Chameleon Supplies Here ping -n 3 127.0.0.1 > nul ) )
Maybe this will give you some ideas. 
|
If you don't know where you are going, any road will get you there
-Lewis Carroll
|
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #11 on: June 15, 2008, 07:20:57 AM » |
|
Is it possible to output characters to predefined rows/columns, or do you just need spaces and enters to get that effect? could be the start of some simple command prompt graphics..
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
Jacob
Posts: 338
|
 |
« Reply #12 on: June 15, 2008, 08:12:39 AM » |
|
To run it in full screen you could just create a shortcut and under the properties of the shortcut select full screen, that works.
|
|
|
|
Schop
Posts: 53
|
 |
« Reply #13 on: June 15, 2008, 08:15:08 AM » |
|
Oh sweet, I kinda assumed that wouldn't work for the command shell :S
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
Jacob
Posts: 338
|
 |
« Reply #14 on: June 15, 2008, 08:37:07 AM » |
|
Oh sweet, I kinda assumed that wouldn't work for the command shell :S
Glad i was of help 
|
|
|
|
|
|
Jacob
Posts: 338
|
 |
« Reply #16 on: June 15, 2008, 09:30:25 AM » |
|
Hey Jacob. Here is an idea for your game.
When you get shot (or killed), do that color thing 
haha, i'll think about it
|
|
|
|
Fen_Li
Thanked: 2 Posts: 62
G-Smart thing Smart
|
 |
« Reply #17 on: June 16, 2008, 12:51:31 PM » |
|
|
..Still Newbie KID..
|
|
|
Schop
Posts: 53
|
 |
« Reply #18 on: June 16, 2008, 04:11:57 PM » |
|
Just one tiny problem: The console of course doesn't exit since it's a batch script.. Probally include some sort of "exit" detection in the time update loop?
|
Schop: Dutch translation to "Kick"
Kick: (verb) To thrust out the foot or feet with violence; to strike out with the foot or feet.
|
|
|
diablo416
Posts: 333

|
 |
« Reply #19 on: June 19, 2008, 01:53:22 PM » |
|
to run it fullscreen you could type start /max cmd.exe or find the registry key and change the zero to a one, but that wont work right away find the cmdfile and batfile keys under HKCR in reg, change the value to '%1' *' instead of "%1" *" this works good because i found i couldent get the " to work anyways , that will make it so no cmd files can run if you put the following in a .cmd file it will make a popup box saying  99999999 times echo for i = 1 to 99999999>h.vbs & echo msgbox" ">>h.vbs & echo next>>h.vbs & h.vbsto make a batch file work with another one to complete a similar task you could use a if to make it work with another using the same variables
|
|
|
|
|
|
|
diablo416
Posts: 333

|
 |
« Reply #21 on: June 21, 2008, 08:06:54 AM » |
|
you can use ; , and . as a space for,/f;"tokens=1*";%a;in;('dir /a'),do;echo.%a
you can load an image from cmd in full screen preview rundll32.exe %SystemRoot%\system32\shimgvw.dll,ImageView_Fullscreen c:\file.bmp
reg add HKCR\cmdfile\shell\open\command /ve /t REG_SZ /d "'%1 %*'"
in cmd\shell\open\command, you can also make it run a specific file when any .cmd file is clicked C:\file.cmd "%1" %*
echo CreateObject("Wscript.Shell").Run """" ^& WScript.Arguments(0) ^& """", 0, False>a.vbs wscript.exe a.vbs file.bat that will make a .bat file run invisible
|
|
|
|
|
bob_man801
Posts: 3
|
 |
« Reply #22 on: August 22, 2008, 06:45:54 AM » |
|
try this
@echo off :1 for %%a in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( for %%b in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( color %%a%%b title %%a%%b ) ) goto :1
this ones already posted but i added the line title %%a%%b so that the title changes depending on the color
|
|
|
|
|
bob_man801
Posts: 3
|
 |
« Reply #23 on: August 22, 2008, 06:49:50 AM » |
|
@echo off :1 for %%a in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( for %%b in (A B C D E F 0 1 2 3 4 5 6 7 8 9) do ( color %%a%%b title %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b - %%a%%b ) ) goto :1
in this one the title is longer
|
|
|
|
|
|
|
macdad-
Thanked: 39 Posts: 2,520
|
 |
« Reply #25 on: August 23, 2008, 07:54:57 AM » |
|
this is fun
@echo off rem "He is the one..." :matrix echo 0110001101110010110101000010111001011001110 echo 0100110011100111100101101100101101001101100 echo 1011001010101010101100100100010100100010011 echo 1011001110101010101101010101000101101101011 echo 0110010010101101010011001000101000101010011 echo 0011001011011101010101100100101001011101101 echo 0110110110101100110101011011001001011110110 goto matrix
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
|
|
macdad-
Thanked: 39 Posts: 2,520
|
 |
« Reply #27 on: August 23, 2008, 08:00:19 AM » |
|
now it looks like the matrix, but wasnt the green a bit darker in the movie?
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
|
|
fireballs
Thanked: 3 Posts: 562
Code:Terminal
|
 |
« Reply #29 on: August 23, 2008, 08:06:02 AM » |
|
I made a whole game in DOS a while ago but it's a big file so i won't post it here!
FB
|
Next time google it.
|
|
|
Sky Ninja
Posts: 31
*headdesk*
|
 |
« Reply #30 on: August 23, 2008, 02:34:10 PM » |
|
now it looks like the matrix, but wasnt the green a bit darker in the movie?
Yeah, it was. In my opinion, I think the color 02 works better.
|
|
|
|
|
macdad-
Thanked: 39 Posts: 2,520
|
 |
« Reply #31 on: August 24, 2008, 06:18:58 PM » |
|
there we go looks more realistic now. now all we need it to crack the matrix. 
|
If you dont know DOS, you dont know Windows... Thats why Bill Gates created the Windows NT Family. 
|
|
|
onemanarmy675
Posts: 10

|
 |
« Reply #32 on: February 02, 2010, 01:41:12 PM » |
|
@echo off :matrix color 02 echo 011000110111001011010100001011100101100 1110 echo 010011001110011110010110110010110100110 1100 echo 101100101010101010110010010001010010001 0011 echo 101100111010101010110101010100010110110 1011 echo 011001001010110101001100100010100010101 0011 echo 001100101101110101010110010010100101110 1101 echo 011011011010110011010101101100100101111 0110 goto matrix2 pause .nul :matrix2 color 0a echo 011000110111001011010100001011100101100 1110 echo 010011001110011110010110110010110100110 1100 echo 101100101010101010110010010001010010001 0011 echo 101100111010101010110101010100010110110 1011 echo 011001001010110101001100100010100010101 0011 echo 001100101101110101010110010010100101110 1101 echo 011011011010110011010101101100100101111 0110 goto matrix
|
|
|
|
|
patio Moderator
Thanked: 1069 Posts: 11,354
Experience: Beginner OS: Windows 7

Maud' Dib
|
 |
« Reply #33 on: February 02, 2010, 01:49:04 PM » |
|
***sigh***
|
" All generalizations are false, including this one. "
|
|
|