Sign in to follow this  
Followers 0
vtuls

trouble with a run cmd

7 posts in this topic

im trying to run a .exe file called PointsecForPC and cant get it running

the folder is C:\Program Files\Pointsec\pointsec For PC\PCMC\PointsecForPC.exe

i cant seem to get it running please help


a badly written code is better than a unwritten onea good written code is even better.but there is always room for improvement. :)

Share this post


Link to post
Share on other sites



Hmm i have a problem with an instalation program run through an autoit script sometimes it runs and sometimes it just minimises and doesnt run. When it doesnt run I can resolve it by deleting the program and the associated directory and recreating it but this seems very strange to me I am using :

Run("$COAC_RELEASE_DIR/$RELEASE_NAME/$BUILD_NAME/dist/$COAC_SERVER_EXE") in my script??

Any help appreciated something to do with runwait??

Share this post


Link to post
Share on other sites

found my solution in typing the complete path where you normaly type only the application name

works fine now.


a badly written code is better than a unwritten onea good written code is even better.but there is always room for improvement. :)

Share this post


Link to post
Share on other sites

found my solution in typing the complete path where you normaly type only the application name

works fine now.

my command already has the path

Share this post


Link to post
Share on other sites

i mean normally you would type: run("notepad.exe", "c:\windows\system\notepad.exe")

but i now typed: run("c:\windows\system\notepad.exe","c:\windows\system\notepad.exe")

and my problem was solved. :D

i hope it helps you a bit


a badly written code is better than a unwritten onea good written code is even better.but there is always room for improvement. :)

Share this post


Link to post
Share on other sites

i mean normally you would type: run("notepad.exe", "c:\windows\system\notepad.exe")

but i now typed: run("c:\windows\system\notepad.exe","c:\windows\system\notepad.exe")

and my problem was solved. :D

i hope it helps you a bit

Run ( "filename", "workingdir"..........

run("c:\windows\system\notepad.exe","c:\windows\system\notepad.exe")

And if Run("notepad") does not work for you, then you have a problem with your OS PATH.


[size="1"][font="Arial"].[u].[/u][/font][/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0