This is the mail archive of the
mailing list for the Cygwin project.
- From: Charles Wilson <cwilson at ece dot gatech dot edu>
- To: cygwin at cygwin dot com
- Date: Wed, 23 Jan 2002 13:41:16 -0500
- Subject: Re: touch
- References: <200201231825.g0NIPKa09236@abrell.ac.upc.es> <20020123182841.GB16029@redhat.com>
Probably not even appropriate for THIS mailing list, Chris. This is
pure windows programming -- what does it have to do with cygwin?
However, I've addressed it below:
Christopher Faylor wrote:
> Wrong mailing list. Redirected.
> On Wed, Jan 23, 2002 at 07:25:20PM +0100, Ivan Martel Perez wrote:
>> I am trying to open a directory using Win32 API :
>> DWORD n;
>> int n1;
>> char a[100+1];
>> HANDLE h;
I think you need to pass a non-shell-escaped filename to the windows
CreateFile function: h=CreateFile("c:\bin\cygwin",...
>> if(h==INVALID_HANDLE_VALUE) error();
>>I always get and invalid handle and the error string "Access
>>denied". I've been trying some flag changes without results.
>>The program I'm writting is motivated because 'touch' does not
>>Is there a way to enable 'touching' dirs?
Dunno about this.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html