I think your second question may have led me in the right direction. As far as I can tell there is no dir.exe or dir.bat anywhere, and DIRCMD is not set. There seems to be a problem with cmdproxy.exe. The 'shell-file-name' variable is set to emacs-24.2/bin/cmdproxy.exe. Running cmdproxy.exe from the Windows command line drops me into a shell with the same problem, i.e., it won't list some files in C:\Windows\System32. I can't find any docs for cmdproxy.exe. I tried evaluating (setq explicit-shell-file-name "C:/Windows/System32/cmd.exe"), which switched the shell to cmd.exe instead of cmdproxy.exe, but this did not fix the problem.
Brian On Sat, Apr 20, 2013 at 12:02 PM, Eli Zaretskii [via Emacs] < ml-node+s1067599n284131...@n5.nabble.com> wrote: > > Date: Sat, 20 Apr 2013 07:53:33 -0700 (PDT) > > From: bsamek <[hidden > > email]<http://user/SendEmail.jtp?type=node&node=284131&i=0>> > > > > > I wish that were true! Here's a fuller listing > > http://i.imgur.com/EGaK3bx.png. It is odd that the time/size don't > match. > > But I made sure to 'dir c:\Windows\System32' in both shells before > > requesting a directory listing. > > You'd have to investigate what's going on on your system. Some > directions to look into: > > . do you have some dir.exe or dir.bat somewhere, and could it be > that it gets invoked in one of the two cases, but not the other? > > . which shell is running in each case? can they be different shells? > > . do you have a DIRCMD variable defined in the environment, and if > so, could it be affecting only one of the cases? > > > > ------------------------------ > If you reply to this email, your message will be added to the discussion > below: > > http://emacs.1067599.n5.nabble.com/Not-all-files-displayed-in-directory-listing-tp284073p284131.html > To unsubscribe from Not all files displayed in directory listing, click > here<http://emacs.1067599.n5.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=284073&code=YnJpYW4uc2FtZWtAZ21haWwuY29tfDI4NDA3M3wxNDUwNTc1OTgy> > . > NAML<http://emacs.1067599.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml> > -- View this message in context: http://emacs.1067599.n5.nabble.com/Not-all-files-displayed-in-directory-listing-tp284073p284211.html Sent from the Emacs - Windows - Help mailing list archive at Nabble.com.