Jump to content

Autoit error: unable to parse line


Recommended Posts

:D

I use autoit for the Runas function for some of my administrative tools which works great but about a week ago autoit started giving me an error while i am trying to do just normal vbs logon scripts. i use psexec in the logon script so load patches etc when a user logs into the domain. this has always worked great but now when i run my vbs script it errors out with a Autoit Error---- C^ERROR error:Unable to parse line. this is really strange to me since i am doing normal scripting which shouldnt have anything to do with autoit.

has anyone seen this? or any advice on how i can resolve this issue?

thanks in advance for any inputs

Link to comment
Share on other sites

  • Developers

so your using autoit to do runas on a vbs script? I'm not 100% that works since a vbs file is a script not an .exe...or are you doing somthing else?

Should be working fine when using @comspec/Start.exe or Cscript.exe but won't work when doing a Run("xyz.vbs")

@irmrmisa, maybe you can show us some code you have that triggers the error.. we are a bit in the dark now....

:D

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

so your using autoit to do runas on a vbs script? I'm not 100% that works since a vbs file is a script not an .exe...or are you doing somthing else?

it was pushed down on our network that user accounts can not have local admin rights on machines. i use autoit to open admin tools such as computer management , active directory users and computers, regedit ...etc so i dont have to log off with my normal account and log back on with admin

in my logon script i use psexec.exe to run patches for users when they logon so it will run under the admin account. but for some reason now on my machine autoit is erroring out my vbs scripts for some reason. the vbs script is completely seperate from autoit.. the problem i am getting is somehow autoit is tieing itself into normal vbs scripts when it shouldnt

Edited by irmrmisa
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...