Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Can't  Save BMP File Deep Into Folder Layer

Posted on 2000-04-09
7
Medium Priority
?
231 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
7 Comments
 

Accepted Solution

by:
coxl earned 100 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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Tech or Treat! - Giveaway

Submit an article about your scariest tech experience—and the solution—and you’ll be automatically entered to win one of 4 fantastic tech gadgets.

Question has a verified solution.

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

Windows 10 Creator Update has just been released and I have it working very well on my laptop. Read below for issues, fixes and ideas.
IF you are either unfamiliar with rootkits, or want to know more about them, read on ....
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

609 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