Sign in to follow this  
Followers 0
Nbanonimous

Can AutoIt Write Files into Startup Directory

8 posts in this topic




And what's the "Startup Directory"?


Broken link? PM me and I'll send you the file!

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Maybe he means this one? @UserProfileDir & "\Start Menu\Programs\Startup"

and yes, you should be able to write files there just fine.

EDIT: Didn't read that post very well LOL... I'm an idiot. No permissions? Then no, I don't think so. I may soon get proven wrong on this though, so check back.

Can anybody confirm?

Edited by danwilli

Share this post


Link to post
Share on other sites

i have no priveliges to write files to the Startup file for All users

can autoit do it ?

i don't think so ..

only if you can invoke administrator rights .. otherwise you will be able to bypass windows security settings


Best regards,Emiel Wieldraaijer

Share this post


Link to post
Share on other sites

I hope that also AutoIt3 cannot do that because you are expecting miracles.

You can only do this when you have an account with the proper rights available and use that in your script, then it is possible to create a script that can be ran by somebody that doesn't have the rights and still create something in the Startup directory for All users.

Now tell me what you want to do here, since you are clearly not a System admin?


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

Share this post


Link to post
Share on other sites

well its at school

i just want it to run 3 programs

that our school provides

Well, when its the school's PC and you don't have admin access you shouldn't mess with it, right ? :)

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          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  
Followers 0