Deleting start button menu links from VBA

The VBA code (within an Access app) I use  to delete  start button menu items/links to an application that has become redundant:

'    by this point I have found out which OS we are talking about in strOS...

    Select Case strOS
    Case "98"
         ''' MsgBox "found win9X os, so delete shortcut from %windir%\start menu"
         Kill "C:\windows\start menu\programs\Counselog ADMIN"
         Kill "C:\windows\start menu\programs\Counselog DATA"
    Case "Mi"
         ''' MsgBox "found WinME os"
         Kill "C:\windows\start menu\programs\Counselog ADMIN"
         Kill "C:\windows\start menu\programs\Counselog DATA"

    Case "XP"
         ''' MsgBox "found Win2k / XP os"
         Kill "C:\documents and settings\" & currentUser & "\start menu\programs\Counselog DATA"
         Kill "C:\documents and settings\" & currentUser & "\start menu\programs\Counselog ADMIN"
    Case Else
         MsgBox "found no compatible OS"
    End Select


... unfortunately this results in 'file not found' at least in the Win ME case. The path as far as I can decide is correct...

Any ideas?

Many thanks.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Presuming that's the right path for ME and the files are there and deletable, I'd double check to make sure ME is being identified correctly.
PeborghAuthor Commented:
It is. It's the frist thing I checked...

What's this about being deletable. This is ME and it has no security anyone would recognise.

Think on. Thanks.
Peborgh.. you missed the .lnk extension at the end of the file :-)

         Kill "C:\windows\start menu\programs\Counselog ADMIN.lnk"
         Kill "C:\windows\start menu\programs\Counselog DATA.lnk"

what cookre meant was to check if the file actually exists and not set to readonly

Have Fun!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PeborghAuthor Commented:

I have just discovered this .lnk business for myself!

Tthanks anyway.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.