Forum start
-
Register
Name
Password
Forgot your password?
New message
You got 0 new message(s) in your inbox
To inbox
Close
Forum start
>
pc
>
software
> Those Pesky Read-Only Files
Quickview
Author
Thread
JDOG
Member
Location:
Registered:
8/7/2006
Warnings:
0
Those Pesky Read-Only Files
Alright guys, here'
s the situation... I am trying to out do myself at Oakwood and pretty much show off some of my skills for a promotion. I had an idea that I am working on just for "fun", which means lots of hours outside of work not getting paid lol. But the user'
s for whatever reason have access to write files to the C drive if they are ignorantly cunning enough to save them there (I know, they shouldn'
t even have permissions to the local drives but that is not my area :] ) Each user has a network drive to save their files to, which they are supposed to be doing. I want to create a program that starts at log in and goes through their local files and copies them to their network drive, that way, when their computer crashes like they always do we will have less angry doctors and nurses yelling at us when they were the ones dumb enough to save their files to their local drives to begin with, grant it, 99.9% of them know no better to begin with. All this to say, I am using VB and my line is
My.Computer.FileSystem.CopyDirectory(CopyFrom, CopyTo, True)
I am running into an error that is generated by the fact that the MyDocuments folder is read-only. I have been looking for how to set these folders to not read-only or to just overlook that simple attribute of read-only, any ideas!?!?
__________________
JDW
jdog44@gmail.com
3/13/2012 23:22
Link
- Ip: Logged - Quote:
QuickView:
Those Pesky Read-Only Files
-
JDOG 3/13/2012 23:22
...
-
byerspc 3/14/2012 11:41
hmm I think there is a way to make their my documents actual...
-
byerspc 3/14/2012 11:44
I was using the My.Computer.FileSystem etc and it was workin...
-
JDOG 3/14/2012 14:10
You can run batch file commands in your code too. Back in th...
-
byerspc 3/16/2012 16:37
What do you mean by a reg hack? They do direct the user's to...
-
JDOG 3/18/2012 21:50
I think with Group Policy you can pretty much hide the C: dr...
-
byerspc 3/19/2012 08:25
Forum start
>
pc
>
software
> Those Pesky Read-Only Files
Quick reply
You need to login before you can post.
Powered by ASPBB v0.5.2
©
2004-2006 ASPBB Developers team