Problem with large name files

M

Marco Pais

Hello there...

I've a problem... I have in my computer excel and winword files with very
large names. I can't open or rename those files.

Ho can I solve this problem. I have Windows 2000 in the referring computer.

Thanks for any help...

Regards...
 
T

Trevor

Have you tried to rename the file using DOS commands?

1. On the start menu, choose Run...
2. Type: cmd
3. At the prompt, navigate to the directory where your files are stored,
using the cd command. if the prompt says c:\, then you're at the root. cd
"documents and settings" will take you to that folder. etc.
4. When you get to the folder where you have your files, type: dir /x /on
5. This will give yo a list of files and their short names, ordered by name.
for example, you'll see that the file "Long file name that is causing a
problem.xls" has a short name like longfi~1.xls.
6. Rename the files using the ren command. Type: ren longfi~1.xls
short.xls
7. Be sure to use a different short name for every file you rename.
 
D

Dave Peterson

If it's a too long path that's causing trouble, maybe you could use the old DOS
SUBST command.

From Win98's command prompt:

C:\>subst /?
Associates a path with a drive letter.

SUBST [drive1: [drive2:]path]
SUBST drive1: /D

drive1: Specifies a virtual drive to which you want to assign a path.
[drive2:]path Specifies a physical drive and path you want to assign to
a virtual drive.
/D Deletes a substituted (virtual) drive.

Type SUBST with no parameters to display a list of current virtual drives.
 
Top