Jump to content

MS DOS question


glutenous

Recommended Posts

I accidentally saved a file in DOS with a space in the file name. Now when I try to copy or access the file I am told that there are too many parameters. Is there any way for me to access or copy this file? Please help, this is a very important file. Thank to all in advance.

Link to comment
Share on other sites


Try the following:

You could also try to enter the name of the file with the ascii

equivalent of a space I believe its atl+255 to produce a space.

ie:

my file.txt

you would type my and then you would hold down the alt key on the keyboard and

enter 255 on the numeric pad; let go of the keys and type the rest of the file name.

Link to comment
Share on other sites

Try the following:

You could also try to enter the name of the file with the ascii

equivalent of a space I believe its atl+255 to produce a space.

ie:

my file.txt

you would type my and then you would hold down the alt key on the keyboard and

enter 255 on the numeric pad; let go of the keys and type the rest of the file name.

ASCII 255 is not ASCII 32.

Link to comment
Share on other sites

  • 5 weeks later...

I'm a bit late on that one but you can rename the file using a wild card:

if you have for instance "my file.txt", type

"ren my*.* file.txt"

and you end up with "file.txt"

Edited by Ponch
Link to comment
Share on other sites

  • 2 weeks later...

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...