Windows Explorer actions and command prompt issues

200 views
Skip to first unread message

innjn

unread,
Apr 4, 2011, 11:35:42 AM4/4/11
to Dokan
Hello,

I have implemented a file system using dokan however there are some
issues that I cannot fix:

1. while windows displays the layout of my fs correctly (folders
files) and I can navigate through the folders, when ever i double
click a file (i.e. textFile.txt) instead of using notepad to open the
file it says: "x:\textFile.txt the directory name is invalid." however
right clicking the file shows the correct context menus and when i
choose to open it with say notepad++ it works correctly.

2. for reasons unknown when I use the command prompt and I try to
navigate to a sub folder it says "the directory name is invalid"
however attempting to navigate into a folder that isn't there it says
"the system cannot find the path specified"

any ideas?
Thanks.

Joe Burmeister

unread,
Apr 4, 2011, 11:49:11 AM4/4/11
to do...@googlegroups.com
It sounds like you are returning inconsistent results for the different calls.
I think you need to go over the differences between your FS and the
example mirror FS.

To make life easier, concentrate on the command line first. The
command line does >a lot< less calls that Explorer. So with the
command line, you should be able to trace how your results different
from the mirror example, and I expect it will turn out you are
returning inconsistent results between calls like FindFiles,
CreateFile, OpenDirectory and GetFileInformation.

Hope this helps.

Joe

> --
> You received this message because you are subscribed to the Google Groups "Dokan" group.
> To post to this group, send email to do...@googlegroups.com.
> To unsubscribe from this group, send email to dokan+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/dokan?hl=en.
>
>

innjn

unread,
Apr 5, 2011, 3:14:59 AM4/5/11
to Dokan
Hi,

you were right, apparently sometimes when asked my root folder
wouldn't return the folder flag to the OS.

thanks

On Apr 4, 6:49 pm, Joe Burmeister <joe.a.burmeis...@gmail.com> wrote:
> It sounds like you are returning inconsistent results for the different calls.
> I think you need to go over the differences between your FS and the
> example mirror FS.
>
> To make life easier, concentrate on the command line first. The
> command line does >a lot< less calls that Explorer. So with the
> command line, you should be able to trace how your results different
> from the mirror example, and I expect it will turn out you are
> returning inconsistent results between calls like FindFiles,
> CreateFile, OpenDirectory and GetFileInformation.
>
> Hope this helps.
>
> Joe
>

sibapy

unread,
Sep 12, 2012, 6:39:38 AM9/12/12
to do...@googlegroups.com, hjgiy...@gmail.com
Hello.

I have run into the same problem too.

Even though it is the same DokanApp, the problems occur when accessed via CIFS, do not occur in the local access.
It does not always result in the problem.
When I "open" it continuously, there is a problem with considerable probability.

I tried on the Mirror, the same problem does not occur.
However, in my DokanApp and the Mirror I can not find the difference so far.

In addition, when it is displayed with "the directory name is invalid", the callback to dokan.dll have not been carried out.

Is there a solution to anything?

Thanks

sibapy

unread,
Sep 13, 2012, 6:08:08 AM9/13/12
to do...@googlegroups.com, hjgiy...@gmail.com

It is additional information.
Environment in which
the problem is the following configuration.


Server: Windows 2008 Server R2
Client: WIndows Vista 32bit

When a client's Windows7, seems to work fine.

Please give me any advice.
Reply all
Reply to author
Forward
0 new messages