Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   might be silly question [bat] (http://www.go4expert.com/forums/silly-question-bat-t16409/)

indiansword 3Mar2009 19:26

might be silly question [bat]
 
m making a bat file , so every website i need are opened automatically when i open that

this is what it looks like

Code:

@ECHO OFF
start iexplore.exe "http://mailmum01"
start iexplore.exe "https://astrocpxw4.cce.hp.com/sap/bc/bsp/sap/z_default"
start iexplore.exe "https://prp.atlanta.hp.com/adt/splash/default.aspx"

so what i was thinking is,
even if i remove that @ECHO OFF, it still works, y?

and i wanna place my name in the credits for this file, but as soon as i open the bat file, it opens up all the iexplorers and disappears, is there any way to put my name in credits?

shabbir 3Mar2009 20:35

Re: might be silly question [bat]
 
Do not open the last one with the start command but just give the name of the exe file and it would not move further till that exe is closed.

indiansword 3Mar2009 20:37

Re: might be silly question [bat]
 
elaboration please, i aint good with programming as u might know.

correction : not elaboration but an example :P

xpi0t0s 3Mar2009 20:46

Re: might be silly question [bat]
 
You could use a rem statement perhaps.
How exactly do you want it to appear; do you want it displayed on screen by the batch file or do you just want it in the bat file so that it's visible when someone edits it?

xpi0t0s 3Mar2009 20:48

Re: might be silly question [bat]
 
Quote:

Originally Posted by indiansword (Post 43803)
elaboration please, i aint good with programming as u might know.

correction : not elaboration but an example :P

Change:

start iexplore.exe...

to:

iexplore.exe...

shabbir 3Mar2009 20:59

Re: might be silly question [bat]
 
Quote:

Originally Posted by xpi0t0s (Post 43807)
Change:

start iexplore.exe...

to:

iexplore.exe...

That was quick

indiansword 3Mar2009 21:01

Re: might be silly question [bat]
 
if i put iexplore.exe and save it
when i open it, cmd comes up for a moment, it disappears, doesnt do anything

what i want to do is, i know how to open up files with it, but i want my name to displayed at the end of it like created by me

xpi0t0s 3Mar2009 21:05

Re: might be silly question [bat]
 
Switch to VBscript then you can make a message box popup.
Batch file programming is really retarded (there's hardly any functionality).

Quote:

Originally Posted by shabbir (Post 43811)
That was quick

Well I'm subscribed to the thread innit?


All times are GMT +5.5. The time now is 00:19.