forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


RUN command on Windows 9x OS

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Oct 07, 2005 12:32 pm    Post subject: RUN command on Windows 9x OS Reply with quote

Hi,

I am calling a DOS EXE from VDS with the RUN command and I use the parameter WAIT. All works on Windows 2K-XP. Its runs the EXE and when its finish executing VDS continues...

But on Windows 9x, the EXE executes but the DOS box does not close by itself when its finishes executing. The caption of the DOS box says FINISHED but stays open.

Is there a way around this under Windows 9x? I still want to wait that the EXE finishes...

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
jwfv
Valued Contributor
Valued Contributor


Joined: 19 Mar 2002
Posts: 422
Location: Beaufort, SC

PostPosted: Fri Oct 07, 2005 1:08 pm    Post subject: Reply with quote

I can't remember - was there a setting for programs in windows 9x that said something like "close window when program finishes" or something like that? It seems like I ran into the same problem and fixed it by changing the properties of either my program or the command.com program.
_________________
Joe Floyd
Back to top
View user's profile Send private message
Aslan
Valued Contributor
Valued Contributor


Joined: 31 May 2001
Posts: 589
Location: Memphis, TN USA

PostPosted: Fri Oct 07, 2005 4:48 pm    Post subject: Reply with quote

Try using:
Run command /c <app>
Back to top
View user's profile Send private message Send e-mail
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Oct 07, 2005 6:47 pm    Post subject: Reply with quote

I will try that Smile Thanks for the tip
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
vtol
Valued Contributor
Valued Contributor


Joined: 05 Feb 2004
Posts: 656
Location: Eastern Indiana

PostPosted: Fri Oct 07, 2005 8:13 pm    Post subject: Reply with quote

If you have one that refuse to close, I've think I had to use @retcode() strategy.

Most cases you dont need to use the above.

If all else fails try adding a DOS bat file with the EXIT command in it.

DOS batch EXIT command:
This exits the current command shell. In windows it will close your DOS window. (Unless you have more than one instance of command.com running). If you are at a real DOS prompt (No windows in the background) nothing will happen.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group