Troubleshooting: Why You Can't Create a Folder Named 'con' | Expert Tips

  • Thread starter Thread starter johncena
  • Start date Start date
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
3 replies · 4K views
johncena
Messages
131
Reaction score
1
Can't create folder !

Why we can't create a folder with name 'con' ?
 
Physics news on Phys.org


Because the console (ie keyboard + screen) is called con: and because of some historical features in the way DOS was written you can't have a file with the same name.
You also can't have a file called com1: lpt1: and a couple of others
 


But sir,
After typing 'con' if we type '0160' holding Alt ...we can create the folder ...how is it happening ?
 


Alt+0160 inserts an invisible space character. You will be able to access this folder through the GUI, but software will not be able to find it unless you remember to include the ALT+0160 character in the filename reference.