Jump to content

Recommended Posts

Posted

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.


Posted

File names in DOS are 8.3, so the name likely has a tilde (~) and a number in it. If you run "dir /a" in the directory the file is in, it should show you the actual file name you can use to open or copy the file.

Posted

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.

Posted
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.

  • 5 weeks later...
Posted (edited)

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
  • 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...