Jump to content
Ketarin forum

Legal characters for DOS filenames / Enviroment Variables


somerandomhash
 Share

Recommended Posts

Following on from http://ketarin.canneverbe.com/forum/viewtopic.php?id=93 I thought it would be helpful to post some handy info regarding 8.3 file names (as it will probably help others)

 

http://en.wikipedia.org/wiki/8.3_filename

 

# Upper case letters A–Z (see lower case letters below) you CAN use them

# Numbers 0–9

# Space (though trailing spaces in either the base name or the extension are considered to be padding and not a part of the filename, also filenames with spaces in them could not be used on the DOS command line because it lacked a suitable escaping system)

#

! # $ % & ' ( ) - @ ^ _ ` { } ~

# (FAT-32 only)

+ , . ; = [ ]

# Values 128–255

 

This excludes the following ASCII characters:

" * / : < > ? \ |

 

Windows/MSDOS has no shell escape character

 

Lower case letters a–z stored as A–Z on FAT-12/16

 

Some handy links

 

http://en.wikipedia.org/wiki/Environment_variable#Examples_of_DOS_environment_variables

 

http://mirror.href.com/thestarman/DOS/DOS7INT.htm

Edited by somerandomhash
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.