title: Cannot open source file (in PATH)
body: <p>I'm trying to run the Microsoft Keyboard Layout Creator to create dll files for the Bépo keyboard.</p>
  
  <p>In the bin directory is the kbdutool.exe which I'm meant to run at the command line (pictured)</p>
  
  <p><img src="https://i.stack.imgur.com/1Xtym.png" alt="Keyboard Creator folder"></p>
  
  <p>The .c and .h files are generated as a preliminary step before I modify them and compile a dll from these sources. I can't complete the compilation though. The output is:</p>
  
  <pre><code>KbdTool v3.40 - convert keyboard text file to C file or a keyboard layout DLL
  Compiling layout information from 'bepo.klc' for wow64.
  bepo.H : can't open for write.
  bepo.C : can't open for write.
  bepo.c
  c1 : fatal error C1083: Cannot open source file: 'bepo.c': No such file or directory
  CL:EXE returned 2
  Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
  Copyright (C) Microsoft Corporation. All rights reserved.
  fatal error RC1110: could not open bepo.rc
  RC.EXE returned 1
  LINK : fatal error LNK1181: cannot open input file 'bepo.res'
  LINK.EXE returned 1181
      2
  </code></pre>
  
  <p>The warnings about not being able to open the files for writing are expected, I was following a guide <a href="http://bepo.fr/wiki/Utilisateur:LeBret/Remplacer_AltGr_par_Kana" rel="nofollow noreferrer">here</a> (in French).</p>
  
  <p>I added this folder to the system path, so I'm not sure what the problem is. If it's of any relevance, cl.exe reports itself to be a 32-bit C/C++ compiler for 80x86. I am using Windows 7 x64. The keyboard tool supports building DLLs for 64-bit targets. It doesn't matter if I change the case of bepo.C to bepo.c, the same problems occur. You can see I moved the folder from its installation location, suspicious that it might have something to do with spaces in the path. I have all aspects of .NET 3.5 enabled.</p>