Shortcut to desktop

March 24, 2010 at 05:51:32
Specs: Windows XP, 2.8/3.21GB
I found a batch file that puts a shortcut on the desktop automatically. I need this because we have installed Outlook 2007 and users need the shortcut. The following code puts the OUTLOOK.EXE file on the desktop but it is not a shortcut. It gives the following error:
"The application has failed because the following cannot be found, MSVCR80.dll" I know that the .dll is a dynamic link library. How do I fix this problem?

xcopy /y /d "C:\Program Files\Microsoft Office\Office12\OUTLOOK.EXE" "%allusersprofile%\desktop"

See More: Shortcut to desktop

Report •

March 24, 2010 at 06:59:12
Put a real shortcut on the desktop. VBScript will do this, CMD can do this if you wish to link to a web page. But there is no Windows provided way to create a shortcut from a command script.

No, copying the executable file is not the same thing as creating a shortcut.

Report •

March 24, 2010 at 13:41:32
@echo off & setLocal EnableDELAYedeXpansion

> "C:\Documents and Settings\Administrator\Desktop\my.bat" echo "C:\Program Files\Juice\Juice.exe"

Helping others achieve escape felicity


Report •

Related Solutions

Ask Question