| View previous topic :: View next topic |
| Author |
Message |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Thu Aug 15, 2002 11:55 pm Post subject: ok a dumb dos asking to ask....sorry i know this is not the |
|
|
hello all
ok when people make batch file i see there are programs out there that will convert them to a exe or a com file. mine question is why do people do this does it make it run better?
please explain this
thanks |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Aug 16, 2002 1:57 am Post subject: |
|
|
A batch compiler makes an executable file that
is loaded into memory. There'll be a noticable
speed increase over a large "uncompiled" batch
file, especially on older slower systems, which is
what they were designed for...
I have BAT2EXEC.COM (an old PC Magazine utility
that generates COM files), but have rarely used it
since I found VDS.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 16, 2002 6:49 am Post subject: hummm |
|
|
ok but one thing
don't a batch file loaded into memory when its runnning? or i'am wrong? |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Aug 16, 2002 6:56 am Post subject: |
|
|
Yes, but batch files must run thru DOS command.com
one line at a time to interpret them (similiar to other
script based programs such as VDS).
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 16, 2002 7:20 am Post subject: ok |
|
|
| when you say large how large of a bat file you taking? |
|
| Back to top |
|
 |
Mac Professional Member

Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Aug 16, 2002 7:35 am Post subject: |
|
|
I don't know how large it would have to be on modern
machines to notice a difference, but I'd guess a couple
hundred lines (maybe more?). These programs were
designed to speed up batch files back before Pentiums...
BTW, the one I have is dated 1993.
Cheers, Mac  _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
 |
|
| Back to top |
|
 |
tim6389 Professional Member


Joined: 01 Aug 2002 Posts: 790
|
Posted: Fri Aug 16, 2002 7:37 am Post subject: well |
|
|
the resaon i ask is cuase i still play with them (batch fils that is) and the machine i'am runing them on is only 166mhz...this is why i'am asking all theses questions.... |
|
| Back to top |
|
 |
|