ComputerForum.com ComputerForum.com  
Go Back   Computer Forum > General Chat > General Computer Chat

Reply
 
LinkBack Thread Tools Display Modes
Old 08-28-2007, 01:37 AM   #1 (permalink)
Moderator
 
brian's Avatar
 
Join Date: Jun 2007
Location: California
Age: 16
Posts: 4,152
Default .bat vs .exe

hey, just messing around with some scripting and had a question. is there any dfference betweeen .bat and a .exe file?
brian is offline   Reply With Quote


Old 08-28-2007, 01:45 AM   #2 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,364
Default

A .bat is just a text file with commandline commands in it. An exe is a compiled program.
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

www.userfriendly.org
Cromewell is offline   Reply With Quote
Old 08-28-2007, 03:36 AM   #3 (permalink)
banned
 
Join Date: Feb 2007
Posts: 6,060
Default

.bat can run a .exe file, I hope you're not trying what I think....
INTELCRAZY is offline   Reply With Quote
Old 08-28-2007, 03:44 AM   #4 (permalink)
VIP Member
 
hermeslyre's Avatar
 
Join Date: Feb 2007
Location: Portland, Oregon
Age: 18
Posts: 4,973
Default

Quote:
Originally Posted by INTELCRAZY View Post
.bat can run a .exe file, I hope you're not trying what I think....
Haha, I don't think so Intelcrazy, He seems like such a nice young man! You sly dog.
hermeslyre is offline   Reply With Quote
Old 08-28-2007, 03:55 AM   #5 (permalink)
Moderator
 
brian's Avatar
 
Join Date: Jun 2007
Location: California
Age: 16
Posts: 4,152
Default

Thank you. and no i dont think i am doing what you think i am just seeing how it works.
brian is offline   Reply With Quote


Old 08-28-2007, 12:41 PM   #6 (permalink)
Platinum Member
 
Bl00dFox's Avatar
 
Join Date: Nov 2006
Location: Sydney, Australia
Age: 16
Posts: 566
Default

Quote:
Originally Posted by INTELCRAZY View Post
.bat can run a .exe file, I hope you're not trying what I think....
I have no idea what you are talking about...


Anyway, a bat file simply executes a set of command line instructions - its just a script that doesnt need to be compiled... windows executes each line of command in a linear fashion

An exe is an actual program that has to be compiled.
__________________
CPU: Core 2 Duo E6600
MOBO: Gigabyte 945P-S3
RAM: 2GB Kingston 667Mhz (4x512MB Dual Channel)
GPU: Palit X1600XT PCI-E
HDD: 160GB SATA Seagate Barracuda 7200.9
Storage HDD: 320GB Seagate Barracuda SATA 7200.10
OS: Windows Vista Ultimate 64-bit
Bl00dFox is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with .bat, .com, .exe and bat2exe leeroyMarv General Software 19 10-30-2008 09:48 PM
ending prompt session after .exe is performed blue21 Operating Systems 0 07-13-2007 06:17 PM
Hide .bat or .exe extension? alexandergre General Software 6 12-14-2006 09:16 PM
.exe off cd junk56 Operating Systems 1 06-10-2006 10:53 PM
.exe on website (anyone know html or something?) dynamitecid99 Internet Discussion 11 10-31-2005 10:09 PM

All times are GMT +1. The time now is 06:46 PM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum