On Thu, 25 Feb 2010 05:17:01 -0800, Martin
<(E-Mail Removed)> wrote:
Carefully check the Properties window, and you will find they have a
..lnk extension.
-Tom.
Microsoft Access MVP
>Hello,
>
>I have the following code which works fine to copy files:
>
>Dim SourceFile, DestinationFile, Username
>
>SourceFile = "\\[MyServer]\[MyFolder]\[MyFileName].[extension]"
>DestinationFile = "c:\Temp\[MyFileName].[extension]"
>
>FileCopy SourceFile, DestinationFile
>
>However I want to copy a Windows shortcut file and this doesnt have an
>extension so when I run this it states it can't find the file however the
>shortcut is there.
>
>Can anyone help on this? I have tried to find a extension for shortcuts but
>there doesnt seem to be one?
>
>Many thanks in advance
>
>Martin
|