Jump to content
Sign in to follow this  
Chimaera

Add file ending to array elements?

Recommended Posts

Chimaera

Ok brief synopsis

i have 2 arrays and i want to make it just one to simplify things

but one deals with reg keys by name and the other deals with shortcuts by name & file ext

It wont matter if the array elements are added to make one array

they are processed by different commands obviously

this is for the links

Global $aPathKeys[36] = [35, "Acer VCM", "Adobe Gamma Loader", etc]

Global $path = @StartupDir & ""
For $g = 1 To $aPathKeys[0]
  If FileExists($path & $aPathKeys[$g]) Then
   FileDelete($path & $aPathKeys[$g])
   Sleep(100)
  EndIf
Next

if i merge the arrays this set will need to have .lnk added to the elements however many there are

Is it possible?

eg

Acer VCM

becomes

Acer VCM.lnk within the array

Edited by Chimaera

Share this post


Link to post
Share on other sites
czardas

Missing the obvious is something I also have experience in. ;) Glad I could help.

Edited by czardas

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.