Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
Copying files to Vista Program Files in ruby script
Shawn Mcclain
9/28/2007 9:21:00 PM
Newbie working on a helper script for app testers (who are using various
OS's) copying down files from network servers. All is going well until
hitting this wall with Vista. I am not able to copy down a file from a
file server to an app folder in Program Files, script runs without
failure, just no file copied once done.
It seems that this is due to the Vista uac stuff as I am able to copy
the file when redirecting the script to the Desktop. And just to be
clear, I am using fileutils for the file copy and XP works without a
hitch.
i.e. If the end user woud recieve the 'Destination Folder Access Denied'
prompt (with the Continue Skip and Cancel buttons) when copying the file
to a location, the Ruby script will not copy the file. I do need to
write this so it will work with Vista in its default setup.
I know there must be a way to work around this, I just can't find it.
Thanks for any help you can provide.
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
Copying files to Vista Program Files in ruby script
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password