GIDForums  

Go Back   GIDForums > Webmaster Forums > Web Design Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 10-Jul-2003, 10:44
rhino1616 rhino1616 is offline
Junior Member
 
Join Date: Apr 2003
Posts: 46
rhino1616 is on a distinguished road

How to create batch files without DOS box?


Im creating a CD presentation in Swish (its like Flash) & my CD contains a few documents that can be downloaded from the CD. I'm using batch files to accomplish this, but when the batch file is run, a small DOS box appears briefly. I then read this solution:

Bat file without DOS box:
This can be 'fixed' by right-clicking on the BAT file, go to properties... and in the Program tab, make sure "Close on Exit" is checked.

Im still confused though, Im running WinXP & when I navigate to the file: explorer/myfile & right click, I only get a properties box with general & compatibilty tabs & no program tab, & niether have a "Close on Exit" check box. Does anyone know if I'm opening the batch file improperly or is there some other way in WinXP to get to the "Close on Exit" check box.

Thanks
  #2  
Old 10-Jul-2003, 21:12
JdS's Avatar
JdS JdS is offline
Senior Member
 
Join Date: Aug 2001
Location: KUL, Malaysia
Posts: 3,371
JdS will become famous soon enough
What about shortcut properties?

In your example above, that was the properties for the .bat file itself, right? Try creating a shortcut to the file.bat and look at the properties and see if you have that - close on exit.

I can't verify this since I don't use Windows XP myself.
  #3  
Old 17-Aug-2003, 07:29
Socrates Demise's Avatar
Socrates Demise Socrates Demise is offline
New Member
 
Join Date: Aug 2003
Location: Denver
Posts: 19
Socrates Demise is on a distinguished road
From what I've noticed you can't run a batch file without a command window popping up during the operation :-( JdS is correct about only being able to choose the close on exit from a shortcut option...this is only if you have a problem with the window staying open. I like batch files but if you don't want the command window popping up you may need to find another way of copying the files :-( In my batch files I usally leave amessage as to what I did and end the file with the pause command whitch prints:
Quote:
Press any key to continue...
This avoids the supprise of seeing a window suddenly appear and disapear.
__________________
I can make a website....But can I make a GOOD website?
  #4  
Old 18-Aug-2003, 10:00
rhino1616 rhino1616 is offline
Junior Member
 
Join Date: Apr 2003
Posts: 46
rhino1616 is on a distinguished road
Thanks for the info guys
 

Recent GIDBlogPrepping for deployment by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
gxx linker accepts only 7 object files danielxs66 CPP / C++ Forum 1 12-Dec-2003 09:27
Can't seem to create db Tigress7 MySQL / PHP Forum 3 19-Aug-2003 09:19
any one knows about the address of the deleted files in FAT shaam CPP / C++ Forum 1 09-Aug-2003 16:18
How do I create JavaScript Links? JdS Web Design Forum 8 29-Jan-2003 15:02
Create a batch file on linux JdS Web Hosting Forum 8 13-Jan-2003 19:59

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:31.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.