Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Batch file help

Thread Tools
 
Search this Thread
 
Old Apr 10, 2007 | 02:02 PM
  #1  
munna's Avatar
munna
Thread Starter
Scooby Regular
 
Joined: Oct 2000
Posts: 806
Likes: 0
Cool Batch file help

hi guys,

just created a batch file on XP,i know that the exit switch does not work on xp,but it does on 2000,95 and 98

is there any way that i can get rid of the DOS box without user intervention..ie:-having them press any button to continue or click the close box tab?
Reply
Old Apr 10, 2007 | 10:00 PM
  #2  
smike's Avatar
smike
Scooby Regular
 
Joined: Mar 2005
Posts: 42
Likes: 0
From: Reading
Default

I'm probably not understanding your purpose correctly, but if you run the batch file by double clicking it in windows then it will close itself when it has finished.

Can you post the contents of the batch file and what you are using it for. I want to understand and help. I just love scripting. Perverse, I know.
Reply
Old Apr 10, 2007 | 10:07 PM
  #3  
Simon C's Avatar
Simon C
Scooby Regular
 
Joined: Sep 2003
Posts: 8,677
Likes: 0
From: At the diesel pump...
Default

If I understand you correctly

you've got something like this ignore the actual programme

sleep 120
run a: scooby.exe

to close the batch file after scooby has run, use exit

so it would look like
sleep 120
run a:\scooby.exe
exit

Exit will exit dos

HTH
Reply
Old Apr 11, 2007 | 12:29 PM
  #4  
David_Wallis's Avatar
David_Wallis
Scooby Regular
 
Joined: Nov 2001
Posts: 15,239
Likes: 1
From: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Default

you can also use cmd /c to call it..

do cmd /? from command prompt.

David
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
yabbadoo4
ScoobyNet General
11
Sep 30, 2015 10:33 PM
Nick_Cat
Computer & Technology Related
2
Sep 26, 2015 08:00 AM
Littleted
Computer & Technology Related
0
Sep 25, 2015 08:44 AM
ALi-B
Computer & Technology Related
0
Sep 14, 2015 07:49 AM
riiidaa
ScoobyNet General
1
Sep 12, 2015 11:52 AM




All times are GMT +1. The time now is 08:19 AM.