replacing a file from a server to home folder

I am trying to set up so that when students log in to our system their IE preferences are already set. I have not found any other way than to write a script to run at login that replaces the file. The problem is that I cannot figure out why the script will not run. Here is what I have.

tell application “Finder”
move file “/Volumes/MACVOL1/com.apple.internetconfig.plist” to folder “/Users/home/Library/Preferences/com.apple.internetconfig.plist” with replacing
end tell

I get this error

Finder got an error: Can’t get file “/Volumes/MACVOL1/com.apple.internetconfig.plist”.

I tried to copy file and get this error

A replacing:true can’t go after this folder /Users/home/Library/Preferences/com.apple.internetconfig.plist.

Any help is greatly appreciated
Thanks
Jerry

The Finder uses HFS paths. Eg: “Disk:Dir:file”.
You can use, though, a simple shell script call for this task:

do shell script "cp /blah1/com.apple.internetconfig.plist /blah2/com.apple.internetconfig.plist"

I tried the shell script but it does not understand the path to the file because it is in the home folder. How do I tell it to select the file in this folder without having to specify the specific user who is logged in?

This will copy it to the current user’s preferences folder (assuming that the current user is the one who runs the script):

do shell script "cp /Volumes/MACVOL1/com.apple.internetconfig.plist ~/Library/Preferences/com.apple.internetconfig.plist"

Jon

this last shell script works however if the file already exists, it is not replacing it. is there a way to make sure it replaces it if it is there already?

do shell script "cp -f ...

with the current script as is…

do shell script “cp -f /Volumes/MACVOL1/com.apple.internetconfig.plist ~/Library/Preferences/com.apple.internetconfig.plist”

If the file is not already there, the script does not work. What I need is for the file to be placed at the time of first login. For some reason it will not create the file if it is not there already.

Thanks for all the help thus far,
Jerry