0

Here's the code from a batch file:

@echo off
rem add desktop icon 
"C:\Program Files\shortcut.exe" /f:"%userprofile%\desktop\Knowledge NoteBook.lnk" /a:c /t:"C:\Program Files\Internet Explorer\iexplore.exe" /p:"http://127.0.0.1:8600/knb2/index.cfm?more=1" /i:"C:\Program Files\kn12.ico" /r:1 /d:"Knowledge NoteBook" 

that used to work for the last two years under Windows XP, Vista and 7. But lately when I try it with Windows 7 Professional it does not do anything and I don't receive any error messages. I even turned off AV. All required files are in the correct paths.

2
  • I would be surprised if that old NT Resource Kit utility still worked in 7. You could try doing something similar with NirCmd.
    – martineau
    Aug 21, 2012 at 0:06
  • try using one of these methods instead: How to create a shortcut using a batch script... superuser.com/questions/455364/…
    – Logman
    Aug 21, 2012 at 2:04

0

You must log in to answer this question.

Browse other questions tagged .