| 
	
		| 
		
			|  | SoftTree Technologies Technical Support Forums
 |  |  
	
		| 
	
	
	
		| Author | Message |  
		| mlr0911 
 
 
 
 
			
				| Joined: 13 Jul 2007 Posts: 35
 Country: United States
 |  
 | 
			
				|  CMD.exe |   |  
				| I am trying to open a dos prompt and have 24x7 place a string of information into the prompt that would read like this: 
 e:\program1.exe area=TEST login=romnie
 
 I can bring up the dos window, however, I can't seem to get the string of information to populate. Is there a easier way to do this?
 
 Thanks
 
 |  |  
		| Tue Oct 16, 2007 2:47 pm |     |  
		|  |  
		| SysOp Site Admin
 
 
 
 
			
				| Joined: 26 Nov 2006 Posts: 7990
 
 |  
 | 
			
				|   |   |  
				| Can you execute this as a complete command? 
 If you need to do it from a script job, for example JAL, use
 
 Dim pid, number
 RunAndWait "e:\\program1.exe area=TEST login=romnie"", "", 0, pid
 
 
 In case if you want to start this with the command window add cmd /C
 RunAndWait "cmd /C e:\\program1.exe area=TEST login=romnie"", "", 0, pid
 
 |  |  
		| Tue Oct 16, 2007 3:26 pm |     |  
		|  |  
		| mlr0911 
 
 
 
 
			
				| Joined: 13 Jul 2007 Posts: 35
 Country: United States
 |  
 | 
			
				|   |   |  
				| Thanks, that did it. 
 |  |  
		| Thu Oct 18, 2007 3:11 pm |     |  
		|  |  
		|  |  
  
	| 
 
 | 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
 
 |  |  |