Solved

Can't  Save BMP File Deep Into Folder Layer

Posted on 2000-04-09
7
225 Views
Last Modified: 2013-12-28
I have a Print Screen Utility called Print Screen Deluxe.  It will capture anything on a Win 98 screen and print it, or you can save it various file formats one of which is .bmp.  I made a folder about 5 folders deep in my file structure to store some of these images.  The first screen shot I saved ok as a BMP file to this folder, but the second one wouldn't save.  I kept getting a message saying something to the effect "Can't Output To A File", "Maybe Hard Drive is Full" (which it isn't - I have about 8 Gig left).  So, I made a folder right at the C:\ level and not a subfolder.  Then I had no problem, it saved it right to it.  I tried 3 other images after this and it saved it right to this 1st level folder with no problems.  What causes this?  I also remember reading somewhere that when you download a file, like a driver update, some sites recommend not downloading it to a folder buried some levels down, download it to a "first level" folder.  I thought this might be related.  Comments please?
Thanks,
Joe Boyd
0
Comment
Question by:JoeBoyd
  • 3
  • 3
7 Comments
 

Accepted Solution

by:
coxl earned 25 total points
ID: 2698833
If you are going several levels deep it is important to remember that the 255 character long file name includes the full path. There are also some applications that will not save beyond the DOS limit of a total of around 66 characters (not sure of the exact number but it is around there). 255 seems like a lot, but I have seen people create long file names for the directories and files (I do it myself) and this can create a problem.
0
 

Author Comment

by:JoeBoyd
ID: 2699875
Cox,
Thanks, you know you may have the answer!  I don't know if I exceeded the 255 character limit but I'm very sure I exceeded the 66 character limit when you include the full path.  I didn't realize the full path was included so I learned a lot from you thank.  

If you don't mind, I will wait a little longer to see if I get any other answers, then I will come back award you the points.

Thanks very much for your response; it has been extremely helpful.
Joe Boyd
0
 
LVL 22

Expert Comment

by:cookre
ID: 2702316
There are still many apps in use that are 16-bit that don't support long file names.  You may not be hitting Windows' 255 limit, but you may be hitting an older app's internal limit.

Is it safe to presume that the second (the one that failed to save) file's name was one or more characters longer than the first?

If so, then you just happened to span the boundary.  If not, something else is going on.

PS: If you can see long names in the app's file dialogs, then you can go to the full 255.  If the path an file in question aren't at the 255 limit, one would tend to suspect a defect in the app.

Here's a long shot for you - depending on the app, you'd get that sort of behavior if there were already a hidden, read-only file of the same name in that directory.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 22

Expert Comment

by:cookre
ID: 2702371
I just tested v4 of PSD and it worked fine down many nodes all the way to the 255 limit, at which point it gave an error other than the one you mentioned.

If you're still using the old version from Win3.x, the message you mentioned would likely appear and a lower total path length limit would not seem unreasonable.

BTW, I'm not poaching points - if it turns out to be related to path length, coxl deserves them.
0
 

Author Comment

by:JoeBoyd
ID: 2714229
Cookre,
Thanks for the additional information.  Actually I would like to award points to both of you (that was a nice comment about not wanting to poach - that's another thing I like about this site, everyone seems friendly and professional).  Coxl did give me the information first on the 255 limit which I have a feeling was my problem (I didn't actually go back and check, but my folder names were fairly long).
However, you also put me on to something about Print Screen Deluxe.  I am using version 3.0b, which I was sent last year for Win 98 (it is suppose to be 32 bit).  I guess I lost track and didn't realize there was version 4 out now.  I will have to see about getting that update.  This information in itself is a great help - thanks.
I guess to award points to two different people, I have to post another posting aimed at the person I want to give points to.  You can't give points to two people under one posting, correct?  Thanks again,
Joe Boyd
joe@lightstreamcomputing.com
0
 
LVL 22

Expert Comment

by:cookre
ID: 2714333
I appreciate the thought, and that's good enough.  Just go ahead and accept coxl's answer.  

Don't worry about it, there will likely be other times.  See y'all around...
0
 

Author Comment

by:JoeBoyd
ID: 2714454
Thanks, I appreciate you answer.  I believe it was right on the mark and you taught me something I didn't know, and that in itself is worth the points.  I didn't realize the 255 limit included the full path.  Thanks
Joe Boyd
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Server Backup - full/normal versus fast 15 46
Win 10...Some user folders missing location tab 7 83
List out file 4 27
how to count files? 4 31
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question