I am trying to create a script to distribute a shortcut to all desktops but
keep getting either "The system cannot find the can't find file specified" or
"The network path was not found" this is what i have tried so far.

copy \\atlantis\students_shared\client_updates\lessonkits.lnk
"%username%\desktop"
copy \\atlantis\students_shared\client_updates\lessonkits.lnk
%username%\desktop
copy \\atlantis\students_shared\client_updates\lessonkits.lnk.lnk
%username%\desktop
copy \\atlantis\client_updates\lessonkits.lnk %username%\desktop

The share is mapped to the X drive, when i view this drive through a dos
window i can drill down to the "client_updates" folder and view the files,
strangely though when i look at the files from here they hav an additional
".lnk" attached as a suffix.
Having spent a number of hours now I cannot see what i have done wrong, the
appears security but i have all rights to the locations, once again
appreciate any help



--
Thanks and regards
Tony

Re: copy scrpt by David

David
Fri Sep 19 03:01:19 PDT 2008

Try this:

copy \\atlantis\students_shared\client_updates\lessonkits.lnk
"%userprofile%\desktop"

"Tony L" <tony.lodder@stdavidsschool.com(pleasedonotspam)> wrote in message
news:CF5855E0-B2FE-4530-997B-A6919D7DFDAC@microsoft.com...
>I am trying to create a script to distribute a shortcut to all desktops but
> keep getting either "The system cannot find the can't find file specified" or
> "The network path was not found" this is what i have tried so far.
>
> copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> "%username%\desktop"
> copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> %username%\desktop
> copy \\atlantis\students_shared\client_updates\lessonkits.lnk.lnk
> %username%\desktop
> copy \\atlantis\client_updates\lessonkits.lnk %username%\desktop
>
> The share is mapped to the X drive, when i view this drive through a dos
> window i can drill down to the "client_updates" folder and view the files,
> strangely though when i look at the files from here they hav an additional
> ".lnk" attached as a suffix.
> Having spent a number of hours now I cannot see what i have done wrong, the
> appears security but i have all rights to the locations, once again
> appreciate any help
>
>
>
> --
> Thanks and regards
> Tony



Re: copy scrpt by tony

tony
Fri Sep 19 03:18:08 PDT 2008

Hi David,

I ran this script and got the following errors

C:\>copy \\atlantis\students_shared\client_updates\lessonkits.lnk
The system cannot find the file specified.

C:\>"C:\Documents and Settings\tlodder.STDAVIDS\desktop"
'"C:\Documents and Settings\tlodder.STDAVIDS\desktop"' is not recognized as
an i
nternal or external command,
operable program or batch file.

--
Thanks and regards
Tony


"David Webb" wrote:

> Try this:
>
> copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> "%userprofile%\desktop"
>
> "Tony L" <tony.lodder@stdavidsschool.com(pleasedonotspam)> wrote in message
> news:CF5855E0-B2FE-4530-997B-A6919D7DFDAC@microsoft.com...
> >I am trying to create a script to distribute a shortcut to all desktops but
> > keep getting either "The system cannot find the can't find file specified" or
> > "The network path was not found" this is what i have tried so far.
> >
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> > "%username%\desktop"
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> > %username%\desktop
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk.lnk
> > %username%\desktop
> > copy \\atlantis\client_updates\lessonkits.lnk %username%\desktop
> >
> > The share is mapped to the X drive, when i view this drive through a dos
> > window i can drill down to the "client_updates" folder and view the files,
> > strangely though when i look at the files from here they hav an additional
> > ".lnk" attached as a suffix.
> > Having spent a number of hours now I cannot see what i have done wrong, the
> > appears security but i have all rights to the locations, once again
> > appreciate any help
> >
> >
> >
> > --
> > Thanks and regards
> > Tony
>
>
>

Re: copy scrpt by tony

tony
Fri Sep 19 03:30:01 PDT 2008

Hi David,

Thanks for your time i have a VB script that works.
--
Thanks and regards
Tony


"David Webb" wrote:

> Try this:
>
> copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> "%userprofile%\desktop"
>
> "Tony L" <tony.lodder@stdavidsschool.com(pleasedonotspam)> wrote in message
> news:CF5855E0-B2FE-4530-997B-A6919D7DFDAC@microsoft.com...
> >I am trying to create a script to distribute a shortcut to all desktops but
> > keep getting either "The system cannot find the can't find file specified" or
> > "The network path was not found" this is what i have tried so far.
> >
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> > "%username%\desktop"
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk
> > %username%\desktop
> > copy \\atlantis\students_shared\client_updates\lessonkits.lnk.lnk
> > %username%\desktop
> > copy \\atlantis\client_updates\lessonkits.lnk %username%\desktop
> >
> > The share is mapped to the X drive, when i view this drive through a dos
> > window i can drill down to the "client_updates" folder and view the files,
> > strangely though when i look at the files from here they hav an additional
> > ".lnk" attached as a suffix.
> > Having spent a number of hours now I cannot see what i have done wrong, the
> > appears security but i have all rights to the locations, once again
> > appreciate any help
> >
> >
> >
> > --
> > Thanks and regards
> > Tony
>
>
>