USMT: Copy desktop shortcuts only



Hi all,

Using USMT, I'm trying to copy only shortcuts from 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.

.



Relevant Pages

  • Re: USMT migrates unwanted executable files
    ... >I want to use USMT to migrate Desktop Shortcuts, Internet Favorites, ... > Network Drives and Network Printers only, ... This is not an issue with the compressed store. ...
    (microsoft.public.windowsxp.setup_deployment)
  • USMT: Copy desktop shortcuts only
    ... Using USMT, I'm trying to copy only shortcuts from the desktop, not ... I am using the /compress- switch in the bat file so I can see if the ...
    (microsoft.public.windowsxp.setup_deployment)
  • USMT migrating JUST the shortcuts on the desktop
    ... I am trying to modify the INF files to only migrate the shortcuts on the ... desktop along with IE favourites, printers, and mapped ... I am not sure how to make USMT only take the shortcuts from the ... I also cannot get the mapped drives to come out when I load my ...
    (microsoft.public.sms.tools)
  • Re: [opensuse] desktops
    ... On Thursday 15 February 2007 04:12, Kenneth Schneider wrote: ... I usually use 4 of them, and switch with the mouse. ... These shortcuts are controlled from the KDE Control Center. ...
    (SuSE)
  • Re: Ctrl+Y invokes Delete Current Line instead of Redo...
    ... had a completely separate IDE. ... When I used to switch between VB6 and VC++6, ... not only were all the keyboard shortcuts different, ... and then when I switch between VB and VC++, all the shortcuts stay the same. ...
    (microsoft.public.dotnet.languages.vb)