Jump to content

Recommended Posts

Posted

Hellow ALL.

Sorry for my bad English.

I found in the AutoIT document, but I can not found Function to create/delete Shortcuts in the SendTo folder.

(Includes Current users and All users.)

Where can I find it ?.

Thanks.

Posted (edited)

There is a difference between the path of the SendTo folder in Windows Vista/7/8/10 and Windows XP. Anyway I also thank you.

Somebody help me.

Edited by meoit
Posted (edited)

C:\Users\<username>\AppData\Roaming\Microsoft\Windows\SendTo

_FileListToArrayRec() for Users, and go through an array to put the desired shortcut.  

That or if that is too complicated do a run at startup script that runs as the current user.

 

For XP just add a check if StringinStr(@OSVersion, "XP") then...

Edited by ViciousXUSMC
Posted

As a log in script it would get all users as they log in, as a recursive search on the users folder it would get all users at once.

Also since your doing a deletion it looks like instead of an add, you could even just search the C: for all instances of that shortcut and delete them all.

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
  • Recently Browsing   0 members

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