USMT: Copy desktop shortcuts only

  • Thread starter Thread starter rob.bowden
  • Start date Start date
R

rob.bowden

Hi all,

Using USMT, I'm trying to copy only shortcuts from the desktop, not
other
files or folders.

I have a custom inf that looks like this:

[version]
Signature=$Windows NT$

[Copy This State]
copyfiles=Default CopyFiles

[Default CopyFiles]
; Desktop Shortcuts
dir=%CSIDL_DESKTOP%\*, %CSIDL_DESKTOP%

As soon as I specify a file type eg: *.lnk the copy fails and nothing
is copied from the desktop. Even if I specify .doc, and there are word
files on the desktop, nothing is copied at all.

I am using the /compress- switch in the bat file so I can see if the
files are copied. I've read that when shortcuts are copied using this
switch, USMT copies the actual files they point to as well. Is this
part of the problem?

I've seen the Desktop section of the miguser.inf file. Does part of
this need editing and the file included in the scanstate bat file? At
the moment I haven't included this in the batch file.

Any help is greatly appreciated.

Cheers.
 
Hi all,

Using USMT, I'm trying to copy only shortcuts from the desktop, not
other
files or folders.

I have a custom inf that looks like this:

[version]
Signature=$Windows NT$

[Copy This State]
copyfiles=Default CopyFiles

[Default CopyFiles]
; Desktop Shortcuts
dir=%CSIDL_DESKTOP%\*, %CSIDL_DESKTOP%

As soon as I specify a file type eg: *.lnk the copy fails and nothing
is copied from the desktop. Even if I specify .doc, and there are word
files on the desktop, nothing is copied at all.

I am using the /compress- switch in the bat file so I can see if the
files are copied. I've read that when shortcuts are copied using this
switch, USMT copies the actual files they point to as well. Is this
part of the problem?

I've seen the Desktop section of the miguser.inf file. Does part of
this need editing and the file included in the scanstate bat file? At
the moment I haven't included this in the batch file.

Any help is greatly appreciated.

Cheers.

hello.....how do i place a site on my desktop in the form of an icon for easy performance.......thanks.......dg
 
Back
Top