![]() |
|
#1
|
|||
|
|||
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
|
||||
|
||||
|
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. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
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:
__________________
I can make a website....But can I make a GOOD website? |
|
#4
|
|||
|
|||
|
Thanks for the info guys
|
Recent GIDBlog
Prepping for deployment by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
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