|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
help with copy file script
I have a script to copy a file, however I need it to run with elevated permissions<br><br>This script works fine if you are connected as a local admin.<br><br>paul@cdg.ws<br><br>I can send you a copy of my script if nessisary.<br><br>thanks
|
|
#2
|
|||
|
|||
|
Here is the script<br><br>Dim fso, Source, Target<br> <br>Set fso = CreateObject("Scripting.FileSystemObject")<br>Set Target = fso.GetFile("target file")<br>Set Source = fso.GetFile("source file")<br><br>If Target.DateLastModified <> Source.DateLastModified Then<br> fso.CopyFile "source file", "target file"<br>End If
|
|
#3
|
||||
|
||||
|
Did you ever get this resolved?
|
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > help with copy file script |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|