Quantcast
Channel: Configuration Manager 2007 Software Distribution forum
Viewing all articles
Browse latest Browse all 629

Distribute file to appdata of the logged in user

$
0
0

Hi,

My requirement is to istribute a file on a specific path i.e. c$\Users\userprofile\AppData\Roaming\
So i had created a package 
and created a share drive
the command which i am using is :
cmd /c copy /y "\\sharedrive\Share_Testing\file.txt" "C:\Users\%username%\AppData\Roaming\"

The issue i am facing is that our client systems have multiple user profiles, and i want to put this file to a particular user profile that is logged in.
whereas , the command takes userprofile as "default".


pls help.


Viewing all articles
Browse latest Browse all 629

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>