PDA

View Full Version : Vista problem


leebos
02-11-2007, 07:22 AM
Just to let others know. I have an application that writes a text file to the users C: drive temporarily while doing string functions. It seems that MS security keeps one from writing to the root of the C: drive in Vista.

This is on Vista Home Premimum.

Lee

longedge
02-11-2007, 04:08 PM
Just wondering why that should be thought of as a problem :)

We have implemented restrictions on users writing to the root of C: for years. It's always seemed to make good sense.

Edit - Don't misunderstand I realise it's a problem for you if you've got existing apps out there that will get broken but I've always thought it good practice to make use of a folder structure.

leebos
02-11-2007, 08:00 PM
It was only a problem because as you mentioned, I had existing code. I'm a novice programmer and using C: was just because I took the easy way out. You are correct, it was bad practice on my part. It's a good thing I don't do this for a living, it's just a hobby to keep me sharp in my retirement years. I am now using _TempFolder. I still have a lot to learn and this group has been a great help.