Copy File From->To
0 Votes |
Description
This is a very basic task to show how to copy a file from location A to location B.
Although i'm using absolute paths, which restricts me to windows boxes... the action script used works on any OS assuming you use the proper pathing methodology.
Property Details
2605 | |
Copy File From->To | |
BESC | |
danielheth@bigfix.me | |
9/13/2013 12:00:00 AM | |
danielheth on 9/13/2013 10:07:17 AM | |
danielheth on 9/13/2013 10:07:17 AM | |
22269 Views / 141 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance

name of operating system contains "Win"
Actions
Action 1 (default)
Action Link Click
here to deploy this action.
Script Type
BigFix Action Script
//copy from profile directory to my desktop
copy "c:\users\daniel\test.txt" "c:\users\daniel\desktop\test.txt"
Success Criteria
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
![]() |
|
Also, if you do not have the relevance that sinucus suggests, then this could fail if the file that you are copying to already exists. Also, the relevance will not go to false without it, which will report as failed if it is a fixlet and not a task. |
![]() |
|
might want to also include a " not exists file "c:\users\daniel\desktop\test.txt" " in the relevance. This will ensure that the fixlet/task cannot be run twice. |