Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to create shortcut 1

Status
Not open for further replies.

gsz11

IS-IT--Management
Jun 20, 2001
82
US
Hi Everyone,
Need some help here. I have no clue how to write scripts(used to know how to write batch files) but i'm sure they don't work anymore in windows 2000. Anyhow, I need to create a logon script to create a shortcut on my users desktop. How would I go about getting this done.
 
Kixtart can easily do this for you. Go to Kixtart.org and download the latest version of Kixtart. It works in NT and 2K. It a logon scripting language that can do many many many cool things for you.

Check it out...look at some sample scripts. Also, you can download the Kixtart Editor.
Both products are free and many companies use this scripting language.

Here an example of checking the local machine for kix32.exe. If found, the script will NOT copy the file, if NOT FOUND, the script will copy the file to the local hard disk.

@BREAK OFF
@ECHO OFF

If Exist "%SYSTEMROOT%\Kix32.exe" Call CMD.EXE /C %SYSTEMROOT%\Kix32.exe %LOGONSERVER%\NETLOGON\LogonScript.kix
If Exist "%SYSTEMROOT%\Kix32.exe" Goto END

Copy %LOGONSERVER%\NETLOGON\Kix32.exe %SYSTEMROOT%\Kix32.exe
Call CMD.EXE /C %SYSTEMROOT%\Kix32.exe %LOGONSERVER%\NETLOGON\LogonScript.kix

:END

Joseph L. Poandl
MCSE 2000

If your company is in need of experts to examine technical problems/solutions, please check out
 
Thanks for your help. I will check it out
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top