.bat help? im a noob

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator: Moderators

Post Reply
hotfootball2000
Posts: 105
Joined: Sat Sep 06, 2008 6:20 pm

.bat help? im a noob

Post by hotfootball2000 »

me and my friend are fighting about whos program is better.
there both home made and very simple. so my question is in an .exe
there is usually a pic in the background. is there a way to do that with bat files and do i need to make it an exe. if so how?
p.s. there 99%% bat and 1% .wav-
nic8082242
Posts: 266
Joined: Fri Nov 09, 2007 5:54 pm
PSN Username: ncmlls
Location: In the Hills,Oklahoma

Post by nic8082242 »

He's trying to ask how add a picture in the background while the .bat file is running, or if he needs to make it an .exe file to do so. And if he needs to make them an exe file how doe he do so.

Haha John called himself a noob
Image
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

Batch files aren't exactly 'programming'. They're basically automated ways to run multiple programs in succession.

If you really want to make programs, download Visual Basic 2008 Express. That's a real programming environment. (You can make GUIs, run sounds, display pictures, pop windows up all over the place, whatever you want!)
zzattack
Posts: 67
Joined: Sun Aug 17, 2008 3:35 pm
Contact:

Post by zzattack »

bicostp wrote:Batch files aren't exactly 'programming'. They're basically automated ways to run multiple programs in succession.

If you really want to make programs, download Visual Basic 2008 Express. That's a real programming environment. (You can make GUIs, run sounds, display pictures, pop windows up all over the place, whatever you want!)

i think he means an icon like when you view the file in windows explorer or so

you could write a very very simple C++ file that just calls system(line) for every line in your batch file, compile it and add a resource to your executable. explorer will show the first image resource in the binary as its icon so that'd be a reasonably simple way to sovle your problem
Bibin
Posts: 1127
Joined: Sun Mar 04, 2007 2:14 am
Location: Brooklyn, NY

Post by Bibin »

If it's an icon you want, you could get powerfully lazy and make a shortcut to the batch file (which is not programming) and give that an icon.
...
grossaffe
Posts: 1450
Joined: Thu May 29, 2008 11:54 pm
Location: USA

Post by grossaffe »

a batch file is just a script that runs commands. I've only added icons to them in linux, but I would assume you could do the same with windows. right-click--properties--change-icon (or something along those lines)
Post Reply