batch files



Dan
07-10-2005, 12:49 AM
i forgot a command. it made what ever i started to keep on opening like it
would make an endless supply of what ever i opened. Back on 98 it was
something like this to make the calculator keep opening, im not sure...
start calc
;1

i think it was the ;1 that did it, but with xp it doesnt work.
does anyone know the command?

Dan

David Candy
07-10-2005, 12:49 AM
:ALabel
calc
goto ALabel


"Dan" <Dan@discussions.microsoft.com> wrote in message
news:2A1ABAF4-3ADA-46DF-9590-F265B6B0727B@microsoft.com...
> i forgot a command. it made what ever i started to keep on opening like it
> would make an endless supply of what ever i opened. Back on 98 it was
> something like this to make the calculator keep opening, im not sure...
> start calc
> ;1
>
> i think it was the ;1 that did it, but with xp it doesnt work.
> does anyone know the command?
>
> Dan
>

Dan
07-10-2005, 12:49 AM
umm.. that works, but not the way I wanted it to. This will open 1 calculator
at a time, then when u exit that, it'l open another. The command im talking
about opens an endless supply, keep poppin up, right when you open up the
batch file, instead of closing calculater then anotherone pops up.
Thank you tho David

"David Candy" wrote:

> :ALabel
> calc
> goto ALabel
>
>
> "Dan" <Dan@discussions.microsoft.com> wrote in message
> news:2A1ABAF4-3ADA-46DF-9590-F265B6B0727B@microsoft.com...
> > i forgot a command. it made what ever i started to keep on opening like it
> > would make an endless supply of what ever i opened. Back on 98 it was
> > something like this to make the calculator keep opening, im not sure...
> > start calc
> > ;1
> >
> > i think it was the ;1 that did it, but with xp it doesnt work.
> > does anyone know the command?
> >
> > Dan
> >
>
>
>

Pegasus \(MVP\)
07-10-2005, 12:49 AM
Beats my why somebody would want to open an unlimited
number of instances of calc.exe . . . Still, if you insist, here
it is. If you set Limit to a sufficiently large number then you
will crash your machine.

@echo off
set count=0
set Limit=5

:again
start calc
set /a count=%count%+1
if %count% LSS %Limit% goto again


"Dan" <Dan@discussions.microsoft.com> wrote in message
news:488B8A75-BC57-491C-ACE6-B7043B26DE8A@microsoft.com...
> umm.. that works, but not the way I wanted it to. This will open 1
calculator
> at a time, then when u exit that, it'l open another. The command im
talking
> about opens an endless supply, keep poppin up, right when you open up the
> batch file, instead of closing calculater then anotherone pops up.
> Thank you tho David
>
> "David Candy" wrote:
>
> > :ALabel
> > calc
> > goto ALabel
> >
> >
> > "Dan" <Dan@discussions.microsoft.com> wrote in message
> > news:2A1ABAF4-3ADA-46DF-9590-F265B6B0727B@microsoft.com...
> > > i forgot a command. it made what ever i started to keep on opening
like it
> > > would make an endless supply of what ever i opened. Back on 98 it was
> > > something like this to make the calculator keep opening, im not
sure...
> > > start calc
> > > ;1
> > >
> > > i think it was the ;1 that did it, but with xp it doesnt work.
> > > does anyone know the command?
> > >
> > > Dan
> > >
> >
> >
> >

David Candy
07-10-2005, 12:49 AM
:ALabel
start calc
goto ALabel

"Dan" <Dan@discussions.microsoft.com> wrote in message
news:488B8A75-BC57-491C-ACE6-B7043B26DE8A@microsoft.com...
> umm.. that works, but not the way I wanted it to. This will open 1
calculator
> at a time, then when u exit that, it'l open another. The command im
talking
> about opens an endless supply, keep poppin up, right when you open up the
> batch file, instead of closing calculater then anotherone pops up.
> Thank you tho David
>
> "David Candy" wrote:
>
> > :ALabel
> > calc
> > goto ALabel
> >
> >
> > "Dan" <Dan@discussions.microsoft.com> wrote in message
> > news:2A1ABAF4-3ADA-46DF-9590-F265B6B0727B@microsoft.com...
> > > i forgot a command. it made what ever i started to keep on opening
like it
> > > would make an endless supply of what ever i opened. Back on 98 it was
> > > something like this to make the calculator keep opening, im not
sure...
> > > start calc
> > > ;1
> > >
> > > i think it was the ;1 that did it, but with xp it doesnt work.
> > > does anyone know the command?
> > >
> > > Dan
> > >
> >
> >
> >


batch files