I am trying to copy the shortcut icon on the desktop this icon is a windows DOS-Program and my command line looks like this

xcopy "Shortcut.lnk" "C:\Documents and Settings\All Users\Desktop\Shortcut.lnk" /C /q /H /R /E /Y < f.txt >> c:\windows\smspkg\logs\Shortcut.log

Any reason why it would not copy the Dos-program icon on the desktop ?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: chichora2003
I am trying to copy the shortcut icon on the desktop this icon is a windows DOS-Program and my command line looks like this

xcopy "Shortcut.lnk" "C:\Documents and Settings\All Users\Desktop\Shortcut.lnk" /C /q /H /R /E /Y < f.txt >> c:\windows\smspkg\logs\Shortcut.log

Any reason why it would not copy the Dos-program icon on the desktop ?


what does your shortcut.log file say and why are you using xcopy instead of copy? That's usually to copy a folder structure
Answered 12/21/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
0
What are you trying to achieve? There's no need to faff about with COPY, XCOPY or anything like that, as copying a shortcut file can be achieved natively in MSI.
Answered 12/24/2007 by: VBScab
Red Belt

Please log in to comment
0
VB, I was gonna say the same thing. Although you'd think that package development would be the MSI forum there was no context in the original post that the the OP was using an MSI or even knows what one is! It looks like he's trying some sort of batch file to do this.
Answered 12/24/2007 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity