FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour windows 8 create file on disk C (solved)
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
windows 8 create file on disk C (solved)
Posted: Tue Dec 25, 2012 09: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

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: windows 8 create file on disk C
Posted: 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.

Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: windows 8 create file on disk C
Posted: Wed Dec 26, 2012 06: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
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: windows 8 create file on disk C (solved)
Posted: Wed Dec 26, 2012 06:29 PM

If you are in the local administrator group that is not the same anymore.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: windows 8 create file on disk C (solved)
Posted: Sun Jan 13, 2013 02:04 AM

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

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: windows 8 create file on disk C (solved)
Posted: Sun Jan 13, 2013 07: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

Continue the discussion