Lordnicon79 Posted May 27, 2015 Report post Posted May 27, 2015 Hi, my intention is to copy 2 files into a folder, where only the admin own full permissions. Normal user have only read permissions. The destination directory is: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security The new two files are: jocal_policy.jar and us_export_policy.jar i have to overwrite two files in destination folder, because they are to old. (or first, i delete the old two files and then copy the new two files) Here is my Batchfile, but i dont understand why nothing changes, if i send the batch file to a client: del "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\*.jar"copy %~dp0local_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"copy %~dp0US_export_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security" first i generate a application (at sccm12) an configured the following: i told sccm to store the files permanent into Clientcache and to download all files if you need more details, please ask me! I dont know how to go on for fixing the problem thanks Quote Share this post Link to post Share on other sites More sharing options...
Hi,
my intention is to copy 2 files into a folder, where only the admin own full permissions. Normal user have only read permissions.
The destination directory is: C:\Program Files\Java\jdk1.8.0_45\jre\lib\security
The new two files are: jocal_policy.jar and us_export_policy.jar
i have to overwrite two files in destination folder, because they are to old. (or first, i delete the old two files and then copy the new two files)
Here is my Batchfile, but i dont understand why nothing changes, if i send the batch file to a client:
del "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security\*.jar"
copy %~dp0local_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"
copy %~dp0US_export_policy.jar "C:\Program Files\Java\jdk1.8.0_45\jre\lib\security"
first i generate a application (at sccm12) an configured the following:
i told sccm to store the files permanent into Clientcache and to download all files
if you need more details, please ask me! I dont know how to go on for fixing the problem
thanks
Share this post
Link to post
Share on other sites