windows 8 create file on disk C (solved)

windows 8 create file on disk C (solved)

Postby Richard Chidiak » Tue Dec 25, 2012 9:13 pm

Hello

Looks like windows 8 (pro) does not like to create a file (not a folder, folders are ok) on hard disk C

Authorisation message is sent , though all necessary authorisations are set.

I googled and found a solution changing a key in the registry, a solution i do not like.

Has any one gone through this and found a better solution ?

Thanks for your time,

Richard
Last edited by Richard Chidiak on Wed Dec 26, 2012 9:14 am, edited 1 time in total.
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: windows 8 create file on disk C

Postby Gale FORd » Tue Dec 25, 2012 10:14 pm

Do you mean the root of hard drive like c:\file.txt
That is considered a no no but you can turn off the UAC or elevate your access level to administrator.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: windows 8 create file on disk C

Postby Richard Chidiak » Wed Dec 26, 2012 6:51 am

yes i mean a file like c:\file.txt
I already am administrator with all rights

The only solution i found is to change the registry

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

set EnableLUA to 0

Hth

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: windows 8 create file on disk C (solved)

Postby Gale FORd » Wed Dec 26, 2012 6:29 pm

If you are in the local administrator group that is not the same anymore.
Gale FORd
 
Posts: 663
Joined: Mon Dec 05, 2005 11:22 pm
Location: Houston

Re: windows 8 create file on disk C (solved)

Postby James Bott » Sun Jan 13, 2013 2:04 am

Why to you need to create a file in the root directory?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: windows 8 create file on disk C (solved)

Postby Richard Chidiak » Sun Jan 13, 2013 7:14 am

James

I have an automatic backup that saves a complete directory, sends the file by ftp and then remove the file , some of the directoies are on root disk.

Anyway why not be able to create a file on disk C while you can create a folder .... This happens only in Pro versions 7 or 8 , changing the flag as mentionned solves the problem.

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 52 guests