title: how to change max size of file name characters in windows for running batch file commands?
body: <p>I have about 700 files that some batch files use them. after each process new generated files name will have the same name with a prefix. after running multiple running name of files will be long about 50 characters. In this situation other batch files cannot use generated files and an error is occurred that say "The system cannot find the file specified" but after reducing file name batch files run properly and without any error.
  Although this problem exist in my computer in my friend computer all of batch files run properly on files with more than 60 character names. <br/>
  I don't know how to solve this problem. Is there any configuration or solution for changing max file name characters in windows? <br/>
  I should mention that windows let me have files with more than 50 characters but batch files does not operate properly on them and also I cannot change files name and compact them for some reason!<br/><br/>
  my computer system: win ultimate 7 <br/>
  my friend computer: win server
  (I also tried on a different win server and does not work properly, and I am confused!)</p>
  
  <p>part of batch files that produce error (and also many command such as it):<br/>
  <code>forfiles /p . /m <em>.%%~ni.</em> /c "cmd /c move @FILE .\%%~ni\@FILE"</code></p>
  
  <p>error content:<br/>
  <code>The system cannot find the file specified.</code></p>