G
Guest
Guest
Archived from groups: microsoft.public.windowsxp.general (More info?)
Does anyone know how to create a desktop shortcut to an executable using the
command line/batch file?
I've tried: copy c:\application.exe c:\documents and
settings\%username%\desktop\shortcut to application.lnk
and it doesn't seem to work. It creats an icon on the desktop, but clicking
it does nothing. I've tried copy and xcopy and all the switches, but none
seem to create shortcuts. I've looked at other shorcuts (automatically
created) and they all seem to be in the form of: shortcut.lnk
I am stumped. Any 411 would be great. Thanks...
Does anyone know how to create a desktop shortcut to an executable using the
command line/batch file?
I've tried: copy c:\application.exe c:\documents and
settings\%username%\desktop\shortcut to application.lnk
and it doesn't seem to work. It creats an icon on the desktop, but clicking
it does nothing. I've tried copy and xcopy and all the switches, but none
seem to create shortcuts. I've looked at other shorcuts (automatically
created) and they all seem to be in the form of: shortcut.lnk
I am stumped. Any 411 would be great. Thanks...