wise script copy
I am trying to copy a file from one location to another I keep getting error messaeg "file could not be opened". I am using the "copy local file" action.
Any help would be great.
Thanks
Any help would be great.
Thanks
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
cbohs
16 years ago
Posted by:
blade2
16 years ago
Hi Clark
This is the copy code itself, do you want the whole script? I have reduced it to just copying between two temp folders on the computer to see if there are issues with permissions on the folders. Basically the variables TEMP FOLDER and TEMP OTHER = "Temp" and "Tempbox" on the c: of the local machine
item: Copy Local File
Source=%INST%%TEMP FOLDER%\word.txt
Destination=%INST%%TEMP OTHER%\word.txt
Flags=0000000011000010
end
Thanks
Luke
This is the copy code itself, do you want the whole script? I have reduced it to just copying between two temp folders on the computer to see if there are issues with permissions on the folders. Basically the variables TEMP FOLDER and TEMP OTHER = "Temp" and "Tempbox" on the c: of the local machine
item: Copy Local File
Source=%INST%%TEMP FOLDER%\word.txt
Destination=%INST%%TEMP OTHER%\word.txt
Flags=0000000011000010
end
Thanks
Luke
Posted by:
cbohs
16 years ago
Posted by:
blade2
16 years ago
Posted by:
cbohs
16 years ago
Posted by:
blade2
16 years ago
I got rid of the %INST%. What kept throwing me was not following through properly with the rebuild of the transform that controls the whole thing too. Every time I made a change to the wise script (and there was many) I wouldn't always rebuild the transform so I kept getting false errors from before the change and it sent my mind going loop de loop over the wrong thing, hence not looking at the error message correctly. overall just my being a twat and probably in need of a good sleep.
If all of that sounds gibberish, probably cause it is.
If all of that sounds gibberish, probably cause it is.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.