Advertising (This ad goes away for registered users. You can Login or Register)

Help me build this annoying batch file

Discuss about your favorite (gaming...or not) devices here. The most popular ones will end up getting their own categories
Programming discussions for your favorite Device
Forum rules
Forum rule Nº 15 is strictly enforced in this subforum.
User avatar
ViP3R
Posts: 615
Joined: Fri Dec 31, 2010 8:55 am
Location: Flash0:/Philippines
Contact:

Help me build this annoying batch file

Post by ViP3R » Tue Apr 05, 2011 1:38 pm

i am making annoying batch (.bat) pop-ups :D unfortunately there is a problem. Here is the VERY basic code:

Code: Select all

@echo off
msg * [text]
msg * [txt]
[and so on]
or.....

Code: Select all

@echo off
:begin
msg * [txt]
msg * [txt]
[and so on]
goto :begin
When i execute, the pop - up message will stop for about the 10th msg will pop...

Help..
Advertising
Goodbye, Captain John "Soap" Mactavish
And Goodbye, Joe Frazier - thanks for encouraging me to have my own PSP

User avatar
DeMeTriC
Posts: 76
Joined: Sat Oct 30, 2010 1:10 pm
Location: ~Over There >>

Re: Help me build this annoying batch file

Post by DeMeTriC » Tue Apr 05, 2011 2:39 pm

Code: Select all

@echo off
:begin
msg * [txt]
msg * [txt]
[and so on]
goto :begin

are you sure? cause you did everything right. this one works fine.
Advertising
Tyranid, Dark_Alex, Fanjita, always will be the best psp hackers
i been in the scene since HBL Rev 1 on advancedpsp.tk

Nickolas
Posts: 174
Joined: Sat Jan 22, 2011 3:14 pm
Location: In a black hole...

Re: Help me build this annoying batch file

Post by Nickolas » Tue Apr 05, 2011 3:28 pm

ViP3R wrote:i am making annoying batch (.bat) pop-ups :D unfortunately there is a problem. Here is the VERY basic code:

Code: Select all

@echo off
msg * [text]
msg * [txt]
[and so on]
or.....

Code: Select all

@echo off
:begin
msg * [txt]
msg * [txt]
[and so on]
goto :begin
When i execute, the pop - up message will stop for about the 10th msg will pop...
Help..
Hmm it sounds fine.. Are you using Win7 or Vista? I think they have added a feature to the Win7/Vista batch to prevent it from looping forever...But I am not sure...
Last edited by Nickolas on Tue Apr 05, 2011 7:06 pm, edited 1 time in total.
Image
Image
Image
Image

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: Help me build this annoying batch file

Post by m0skit0 » Tue Apr 05, 2011 3:35 pm

Batch "programming"? That's legacy from MS-DOS and definitely almost obsolete... Use some scripting language.
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

kodex
Posts: 67
Joined: Mon Oct 18, 2010 10:30 pm

Re: Help me build this annoying batch file

Post by kodex » Tue Apr 05, 2011 3:52 pm

reminds me of this i tried.

Code: Select all

lol=msgbox ("Warning, a virus has been detected on your PC and may corrupt your hard disk completely. Press YES to close all applications and format your hard disk now or press NO to format your hard disk after system restart",20,"Warning")
 
save it as ".vbs" and put it in someone's startup folder. its not that convincing though.
i t doesnt do anything.

edit: i tried to make it annoying by adding other scripts so that the next one loads when you click an option by i don't know how. anybody?

User avatar
ReaperX
Posts: 470
Joined: Fri Jan 21, 2011 2:04 am
Location: Georgia

Re: Help me build this annoying batch file

Post by ReaperX » Wed Apr 06, 2011 12:39 am

If you want to be annoying put this in your batch file and test it out :lol:

Code: Select all

@echo off
:1
Start cmd.exe
Goto 1
PSP Information
PSP Model: Sold
PSP Motherboard:
PSP Firmware Version:
Make it idiot proof and someone will make a better idiot.

User avatar
ViP3R
Posts: 615
Joined: Fri Dec 31, 2010 8:55 am
Location: Flash0:/Philippines
Contact:

Re: Help me build this annoying batch file

Post by ViP3R » Wed Apr 06, 2011 3:36 am

ReaperX wrote:If you want to be annoying put this in your batch file and test it out :lol:

Code: Select all

@echo off
:1
Start cmd.exe
Goto 1
LOL that is the first thing that i've done. 200+ CMD's :lol:

anyway, mine is not a loop, except when i will put that "goto begin" thing. Win7.

Any suggestion/scripts :?: :D


EDIT: can this be possible inside autorun.ini ?
Goodbye, Captain John "Soap" Mactavish
And Goodbye, Joe Frazier - thanks for encouraging me to have my own PSP

User avatar
m0skit0
Guru
Posts: 3817
Joined: Mon Sep 27, 2010 6:01 pm

Re: Help me build this annoying batch file

Post by m0skit0 » Wed Apr 06, 2011 6:17 am

Geez, people "programming" with gotos on 2011... :cry:
I wanna lots of mov al,0xb
Image
"just not into this RA stuffz"

User avatar
ReaperX
Posts: 470
Joined: Fri Jan 21, 2011 2:04 am
Location: Georgia

Re: Help me build this annoying batch file

Post by ReaperX » Wed Apr 06, 2011 9:11 pm

ViP3R wrote:
ReaperX wrote:If you want to be annoying put this in your batch file and test it out :lol:

Code: Select all

@echo off
:1
Start cmd.exe
Goto 1
LOL that is the first thing that i've done. 200+ CMD's :lol:

anyway, mine is not a loop, except when i will put that "goto begin" thing. Win7.

Any suggestion/scripts :?: :D


EDIT: can this be possible inside autorun.ini ?
Sorry I don't have any script suggestions but what version of windows are you using? The msg command doesn't work on my vista laptop.

For autorun.ini, do u mean using one for the batch file so it loads on startup?
PSP Information
PSP Model: Sold
PSP Motherboard:
PSP Firmware Version:
Make it idiot proof and someone will make a better idiot.

User avatar
ViP3R
Posts: 615
Joined: Fri Dec 31, 2010 8:55 am
Location: Flash0:/Philippines
Contact:

Re: Help me build this annoying batch file

Post by ViP3R » Thu Apr 07, 2011 11:33 am

ReaperX wrote:
ViP3R wrote:
ReaperX wrote:If you want to be annoying put this in your batch file and test it out :lol:

Code: Select all

@echo off
:1
Start cmd.exe
Goto 1
LOL that is the first thing that i've done. 200+ CMD's :lol:

anyway, mine is not a loop, except when i will put that "goto begin" thing. Win7.

Any suggestion/scripts :?: :D


EDIT: can this be possible inside autorun.ini ?
Sorry I don't have any script suggestions but what version of windows are you using? The msg command doesn't work on my vista laptop.

For autorun.ini, do u mean using one for the batch file so it loads on startup?
Windows 7. autorun=removable storages like USB and the MS itself
Goodbye, Captain John "Soap" Mactavish
And Goodbye, Joe Frazier - thanks for encouraging me to have my own PSP

Locked

Return to “Programming and Security”