Article ID: 121059 - Last Review: November 15, 2006 - Revision: 1.1 Command-Line Filenames Appear Limited to 127 CharactersThis article was previously published under Q121059 SYMPTOMS
When you are working in an MS-DOS Prompt session within Windows 95 or when
you boot Windows 95 to a command line, command lines are limited to no
more than 127 characters.
CAUSE
The default command-line character limitation is 127 characters. In this
default configuration, the MS-DOS environment does not allow more than 127
characters to exist in a given command line.
RESOLUTION
The global command-line character limitation can be increased to its
maximum by placing the following line in the CONFIG.SYS file:
shell=c:\windows\command.com /u:250 /p NOTE: If the SHELL command is already present with the /u switch, increase the value to 250. MORE INFORMATION
With the command-line character limitation set to its maximum, filenames
are limited to 250 characters minus the number of characters in the command
line. For example, if the command line reads
copy con "<long filename>" NOTE: It is necessary to put the filename in quotation marks only if the filename contains special characters (such as spaces). | Article Translations
|

Back to the top
