Logon script question

A

Arne And

Hi group.

Not sure if am in the right group, but am not sure where else I could post
it.

Anyway. I have a simple logon script and in that bat file I would like to
post a shortcut to all my computers.

I have a shared folder where I put (among other things I ship out too my
computers), my shortcut that users will need in there working day.

I would guess its quite few and simple code that I need to put my shortcut
on the desktop by using a logon script :)

Could anyone help?

-AA-
 
M

Mark Heitbrink [MVP]

Hi,

Arne said:
I have a simple logon script and in that bat file I would like to
post a shortcut to all my computers.

computer startup script.

--- shortcut.bat ---
del "%allusersprofile%\Desktop\*.lnk"
copy \\server\share\*.lnk "%allusersprofile%\Desktop"
--- shortcut.bat ---

or as a user login script, instead of %allusersprofile% %userprofile%

Mark
 
A

Arne And

thanx :)

-aa-



Mark Heitbrink said:
Hi,



computer startup script.

--- shortcut.bat ---
del "%allusersprofile%\Desktop\*.lnk"
copy \\server\share\*.lnk "%allusersprofile%\Desktop"
--- shortcut.bat ---

or as a user login script, instead of %allusersprofile% %userprofile%

Mark
--
Mark Heitbrink - MVP Windows Server
Homepage: www.gruppenrichtlinien.de
W2K FAQ : http://w2k-faq.ebend.de
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top