USMT Redirect to C:

N

ns

I have created this custome INF file (see below) I want to store all
JPG and BMP on the users local drive, because we redirect users my
doc's to a server, and I don't want to take up that space. When I run
the load state I never get the folder called Migration created on the
C:

Note when load state batch job calls my exe and Loadstate is putting
the files on the computer it does not put the c:\Migration folder on
the computer it creates a folder from where the batch job called my
Loadstate command called %root1% and %csidl_personal%. Note the
csidl_personal delivered to My documents like it should be but the
root1 variable is never created on the destination computer.

In addition why dothe %root1% and %csidl_personal% get created on the
network drive from where I execute my loadstate.bat file?



[version]
Signature=$Windows NT$
DriverVer=10/01/2002,5.2.3790.1265

[Component.Environment]
;here you can create temporary environment variables
%root1%=Directory, c:\
%appdata1%=Directory, c:\documents and settings\all users\application
data



[Copy This User State]
copyfiles=Outlook Archive CopyFiles

[Outlook Archive Copyfiles]
%CSIDL_PROFILE%\Local Settings\ApplicationData\Microsoft\Outlook\*.pst



;exclude files types
[Copy This State]
DelFiles=mp3 files
[mp3 files]
*.mp3

;exclude directories
[Copy This User State]
DelFiles=Exclude

[Exclude]
dir=%csidl_mymusic%
dir=%csidl_internet_cache%
dir=%temp%
dir=%appdata1%\*\*.jpg
dir=%appdata1%\*\*.bmp
dir=%root1%\temp\*
dir=%root1%\tmp\*


[Copy This State]
CopyFiles=Custom Requests
[Custom Requests]
*.bmp, %root1%\Migration\images
*.jpg, %root1%\Migration\images
*.psd, %root1%\Migration\images
*.psb, %root1%\Migration\images
*.pst, %root1%\Migration\PST
*.slddwg, %root1%\Solidworks
*.sldprt, %root1%\Solidworks
*.sldasm, %root1%\Solidworks
*.vsd, %CSIDL_PERSONAL%\Visio
;*.vi, %root1%\
;*.ctl, %root1%\
 
N

ns

I got the redirection to work by simply directing the restore using:
[Copy This State]
CopyFiles=Custom Requests
[Custom Requests]
*.bmp, c:\Migration\images

Now if someone can tell me how to get the restore to simply restore all
*.bmp to c:\migration\images\*.bmp

Currenlty when the restore is done the images are stored with the full
path.
eg. c:\migration\images\program name\directory\another
directory\name.bmp
and I want all bmp to be stored in c:\migration\images (notice the path
was truncated).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top