Jump to content
Cristobal

Compiling error: 'C:\Program' is not recognized as an internal or external command,

Recommended Posts

Cristobal

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "C:\Utils\ack.au3"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.

I've tried everything to get this working.  I've uninstalled, reinstalled, nuked the registry key, altered the registry key...  Anyone know how to fix? 

I've spent several hours trying to automate this GD acrobat install and I swear I'm being trolled.  Please HALP!

Share this post


Link to post
Share on other sites
Jos

How did you install both AutoIt3 and SciTE4AutoIt3? With the standard installers?

Show me the whole SciTE outputpane information please.

Jos

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
Cristobal

I installed the bundle SciTE and then read that in order to get trace lines, I had to install the full version.  Mr. Autoit on stack overflow provided a link of the full version.  I used the standard installers on both.  I enabled the trace lines, ran the script once, then it just started error'ing after that everytime I tried to compile or run.

This is a copy and paste of the output pane:

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "C:\Utils\ack.au3"
'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
>Exit code: 1    Time: 0.1594
 

Thanks!

 

Share this post


Link to post
Share on other sites
Jos

Is Autoit3.exe installed in "C:\Program Files (x86)\AutoIt3"  and SciTE in "C:\Program Files (x86)\AutoIt3\SciTE\"?

What happens when you do this command from the CMD prompt?

"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "C:\Utils\ack.au3"

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
Cristobal

Both appear to be installed in the (x86) folder.

Results from command prompt:


Y:\>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "C:\Utils\ack.au3"
'"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe"' is not recognized as an internal or external command,
operable program or batch file.

Share this post


Link to post
Share on other sites
Cristobal

It looks like the output pane truncated the command.

Share this post


Link to post
Share on other sites
Jos
1 minute ago, Cristobal said:

Both appear to be installed in the (x86) folder.

Meaning what exactly?  Is SciTE in the Subdirectory of AutoIt?

 


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
Cristobal
Quote

Meaning what exactly?  Is SciTE in the Subdirectory of AutoIt?

Yes

Share this post


Link to post
Share on other sites
Jos

Lets stick to the tests in the CMD window.

What happens when you perform these commands:

  • "C:\Program Files (x86)\AutoIt3\SciTE\Scite.exe"
  • "C:\Program Files (x86)\AutoIt3\AutoIt3.exe"

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
Cristobal

The first one launches the script editor, the second displays this:

Y:\>"C:\Program Files (x86)\AutoIt3\AutoIt3.exe"
'"C:\Program Files (x86)\AutoIt3\AutoIt3.exe"' is not recognized as an internal or external command,
operable program or batch file.
 

Looks like the path got goofed up.  Strange, it was working and then it wasn't.

Share this post


Link to post
Share on other sites
Cristobal

C:\Program Files (x86)>dir autoit3.exe /s
 Volume in drive C is OS
 Volume Serial Number is 36FE-71F8
File Not Found

 

Hmmm... I wonder if my AV ate it?!

Share this post


Link to post
Share on other sites
Cristobal

So I just tried to reinstall the autoitv3 bundle and it errored "extract: error writing to file AutoIt3.exe"

I'm going to contact my MSP and have them set an exclusion.

 

Thanks so much for you time and help! 

Share this post


Link to post
Share on other sites
Jos

So indeed that means that autoit3.exe is not available and your AV would be a good place to start checking. ;)


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
Earthshine

I bet you just have corrupted installs or maybe somethings wrong with your operating system

 

Please post the links were you downloaded everything because I think you’ve got some garbage

Edited by Earthshine

My resources are limited. You must ask the right questions

 

Share this post


Link to post
Share on other sites
ReflekX

>"C:\Program Files (x86)\AutoIt3\SciTE\..\AutoIt3.exe" "C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.au3" /NoStatus /prod /in "C:\Utils\ack.au3"
'C:\Program' is not recognized as an internal or external command

It seems that i have the same problem, I just updated scite to the "scite4autoit" version.
My output looks like above, but i need to change my settings, however i don't know where to change this.
The output redirects to an "AutoIt3.exe" while in my program files its "AutoIt3_64.exe".

Where can change the setting in Scite to change it to the right path?

 

Share this post


Link to post
Share on other sites
Jos
Posted (edited)

Don't you have both autoit3.exe and autoit3_64.exe in the autoit directory?

Did you install autoit with 64 bit as default?

Did you use the installers for both?

What is the correct directory for autoit in your installation?

Jos

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

×