Jump to content
Sign in to follow this  
au3scr

Run from cmd

Recommended Posts

au3scr

Hi

can anyone say me how to run a program as From CMD?

I tried this:

Case $MenuItem11312
                $load = FileReadLine(@ScriptDir & "\settings",19)
                Run (@ComSpec & $load)

But it didnt work.

this is my 19-th line in settings

C:\Program Files\GIMP-2.0\bin\gimp-2.4.exe


Share this post


Link to post
Share on other sites
Jos

you are up to 250+ posts... now tell me how did you do the debugging for this problem ?

What the the result for: @ComSpec & $load ?

What should it be to work ?

(try to start to learn how to debug your programs because that is something that will be useful for the future :) )

Edited by Jos

Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

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  

×