General discussion

Locked

Problem with long filenames and paths

By koko ·
I suppose I have a problem with long paths which includes intervals in names. In some cases programs which r trying to save files in that kind of directories provide unexpected errors with error codes -1 or -3.
In other cases Im trying to start installation program from where they r and recieve message that the file couldnt be found. If I move same program to the root everything seems to be ok.
How can I solve this problem.
Ty in advance

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Problem with long filenames and paths

by Hutch In reply to Problem with long filenam ...

Have you checked that the areas you attempting to save back to and runn apps from are included within the Path statement for your PC/Server. COntrol Panel, System, Environment, Path. If not incude the necessary directories...
Are the drives that you are experiencing these problems local to your PC or mapped network drives that you are accessing accross your LAN?

Collapse -

Problem with long filenames and paths

by koko In reply to Problem with long filenam ...

The question was auto-closed by TechRepublic

Collapse -

Problem with long filenames and paths

by jypy In reply to Problem with long filenam ...

Supposing that the programs are 16-bit or DOS applications, the errors are normal. The spaces in names are valid only for the 32-bit environment.

In a command prompt or from the RUN command, if you wish to start the application from the root, don't forget to put it between double-quotes (it's the same for 32-bits apps)
ex: "c:\program files\application1\application.exe"
because it will stop and NT will try to launch the application c:\application.exe.
Curiously, you can make a change directory with spaces in the path but cannot launch a program with the same path.

Collapse -

Problem with long filenames and paths

by koko In reply to Problem with long filenam ...

The question was auto-closed by TechRepublic

Collapse -

Problem with long filenames and paths

by Gicu Artistu' In reply to Problem with long filenam ...

I had submitted something before but I didn’t reach the destination…. Anyway I had these problems myself and finally I reached to a solution (kind of…).
- If you have FAT partitions be sure that are not bigger than 2Gb (in NT is possible).
- If you have NTFS partitions on your server and your clients are Windows 3.1&DOS be sure that your shares on the server are 8.3 filenames from the root to the leaf and also the longest absolute path could be only 64 bytes.
- If you haveWindows 95 clients you could have long names but you have to keep in mind that the longest relative path in Windows 95 is also 64 bytes.
- If you have Windows 98 clients and they have the FAT 32 activated then you could get into all kind of problems because of numbers (the biggest integer kind a thing…)

If you would like to give more details I could extend the answer.

Hope to work…

Collapse -

Problem with long filenames and paths

by koko In reply to Problem with long filenam ...

The question was auto-closed by TechRepublic

Collapse -

Problem with long filenames and paths

by koko In reply to Problem with long filenam ...

This question was auto closed due to inactivity

Back to Windows Forum
7 total posts (Page 1 of 1)  

Operating Systems Forums