Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: [help] how can i launche console application after virtual


Newbie

Status: Offline
Posts: 3
Date:
[help] how can i launche console application after virtual
Permalink   
 


Hi:

I have virtualized a console application.

and setting Startup: %Program Files%\AutoTest\test.exe

when i run this app with cmd line

it open a new command window to run it and close the new windows after end

how can i run it with command line



-- Edited by wwjackli on Tuesday 27th of May 2014 01:17:48 AM

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Hello Wwjackli,

Are you wanting to run %Program Files%\AutoTest\test.exe from the command line?

For a test, you can drag your package to the command line, add a space, -exec cmd, and enter the command and parameters in the virtualized Command Prompt that opens.  The command to open the virtualized Command Prompt might look like this: Autotest.cameyo.exe -exec cmd



__________________


Newbie

Status: Offline
Posts: 3
Date:
Permalink   
 

hello mule,
thanks
i want to run %Program Files%\AutoTest\test.exe from the command line
test.exe is a Windows console application
i try with -exec but ...

info
===================================
launch Original application:
1. open a command line
2. input : test.exe

====================================
after virtue(Name:AutoTest.cameyo.exe)
Setting :: Startup: %Program Files%\AutoTest\test.exe

1. open a command line
2. input: AutoTest.cameyo.exe
it opens a new command line and launch test.exe then close the new command window

====================================
test in a command line
1 : input: AutoTest.cameyo.exe -exec cmd
result: it only open a new command window

2: input: AutoTest.cameyo.exe -exec cmd AutoTest.exe runtest
result : it only open a new command window

3: input: AutoTest.cameyo.exe -exec test.exe
result : it opened a new command line and running test.exe then auto-close the new command window

4: input: AutoTest.cameyo.exe -exec cmd "%Program Files%\AutoTest\test.exe"
result : it only open a new command window

5: input:
1.AutoTest.cameyo.exe -exec cmd
2. at the new open command line -  input: test.exe
result : it can not find this command

6:
1.AutoTest.cameyo.exe -exec cmd
2. at  the new open command line - input: "%Program Files%\AutoTest\test.exe"
result : it can not find the path



-- Edited by wwjackli on Wednesday 28th of May 2014 08:27:19 PM

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

What is supposed to happen, i.e. what happens when you run your program unvirtualized?



__________________
wwjackli01

Date:
Permalink   
 

hello mule,

thanks

I run program unvirtualized.

step1: open a command widowns

step2: input

AutoTest.exe testcase c:\RestAutoTest\LBS_Profile\createProfile_200_ok

result:

the test information display at command window

Screenshot : https://drive.google.com/file/d/0B0rt9jN2OyqQNmEwNENiaG5Palk/edit?usp=sharing



__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Please repeat your test 6 from your previous message, quoted below, but eliminate the space between Program and Files, i.e. enter "%ProgramFiles%\AutoTest\test.exe" in the virtualized command line.

 

wwjackli wrote:
...


6:
1.AutoTest.cameyo.exe -exec cmd
2. at  the new open command line - input: "%Program Files%\AutoTest\test.exe"
result : it can not find the path

 



__________________


Newbie

Status: Offline
Posts: 3
Date:
Permalink   
 

hello mule,

i tried it , but it also does not work.
So i want to try again, after adding UI

thanks

__________________


Guru

Status: Offline
Posts: 912
Date:
Permalink   
 

Can you upload your installer to a file-hosting site and provide the url? or you can use WeTransfer, send to yourself, and post the link.



__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard