Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Yet another Microsoft annoyance

Yet another Microsoft annoyance

Scheduled Pinned Locked Moved The Lounge
csharpperformance
37 Posts 19 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Lost User

    1.00/5 (1 vote) Wow! Apparently the MS devs who created this little annoyance are CP members!! :laugh: :laugh: :laugh: P.S. Not that it absolves MS from this blunder, but you may be the 1st person I've heard of who actually uses MS integrated ZIP "tools". :~

    N Offline
    N Offline
    nalorin
    wrote on last edited by
    #13

    you may be the 1st person I've heard of who actually uses MS integrated ZIP "tools"

    LOLZ. I occasionally use it (only when I'm too lazy to open WinRAR). But one thing I've noticed about it is that it takes like 10x longer to unzip things... especially when there's a lot of small files. For example: If you have 1000 files in a 5 meg zip, and use MSZIP, it will probably say "3 minutes remaining," compared to WinRar, which would have it done in about 10 seconds!

    "Silently laughing at silly people is much more satisfying in the long run than rolling around with them in a dusty street, trying to knock out all their teeth. If nothing else, it's better on the clothes." - Belgarath (David Eddings)

    1 Reply Last reply
    0
    • E El Corazon

      you just gave me fever nightmares.

      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

      D Offline
      D Offline
      Dan Neely
      wrote on last edited by
      #14

      *bows* fhatgn

      You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4.... -- El Corazon

      N 1 Reply Last reply
      0
      • L Lost User

        1.00/5 (1 vote) Wow! Apparently the MS devs who created this little annoyance are CP members!! :laugh: :laugh: :laugh: P.S. Not that it absolves MS from this blunder, but you may be the 1st person I've heard of who actually uses MS integrated ZIP "tools". :~

        B Offline
        B Offline
        Bert delaVega
        wrote on last edited by
        #15

        Mike Mullikin wrote:

        Apparently the MS devs who created this little annoyance are CP members

        Doubt it, but maybe. I think the solution was really lame. I've never seen that problem myself. I think something like that wouldn't have gone 8 years unaddressed... :laugh:

        1 Reply Last reply
        0
        • L Luca Leonardo Scorcia

          Add this one to the list. We all know UAC is good for us, developers should use it all the time to build better applications, etc. etc. I swear I'm trying. So in my little normal user account on my little WinServer08 machine I try to set an user environment variable that is used to set some paths in a C++ makefile: right click on My Computer, Properties, Advanced System Settings, the UAC pops up, I login as an Administrator, add the variable, confirm, logoff, logon. And the variable's not there. Perfectly logical: it has been added in the user variables of the Administrator account I used to access the Environment Variables dialog! So I had to check the mighty Google, and finally found the registry key under which I could manually add the entry. Vista/Server08 is full of these stupid things. To get the visual effects like mouse shadow etc. I had to make a registry diff with a Vista machine, because these visual settings are in the same window that is used to change system things like the Paging File settings. I really wish Microsoft will take it right next time and that Vista is a transition OS.

          Luca The Price of Freedom is Eternal Vigilance. -- Wing Commander IV En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur. (But the best thing God has created, is a New Day.) -- Sigur Ròs - Viðrar vel til loftárása

          E Offline
          E Offline
          El Corazon
          wrote on last edited by
          #16

          Luca Leonardo Scorcia wrote:

          We all know UAC is good for us, developers should use it all the time to build better applications

          Most developers completely miss the meaning behind the UAC. We're not supposed to 'use' it to make better programs. We are supposed to realize that we have been violating admin rights in our software by requesting elevated privledges. But you are right, MS messed up, almost none of us learned what has been echoed for the last 10 years. We've been messing up, the UAC is a symptom of our failings as programmers.

          _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

          L P H 3 Replies Last reply
          0
          • A Alan Balkany

            If you right-click a file in Windows Explorer, one of the Send To options is "Compressed (zipped) folder". I did this, then attempted to send the zipped file as an attachment. It wasn't there. Unbelievably Outlook would not show me the zipped file in the Insert File dialog! After wasting some time trying various approaches, I googled and found the solution here: http://outlook-tips.net/archives/2005/20050526.htm[^] You have to DISABLE compressing files with zip in order to attach them to email with Outlook! Then you have to re-enable it to zip the next file! This is incredibly crappy even for Microsoft. Using Microsoft products is like driving on a freeway with speed bumps.

            G Offline
            G Offline
            Gary R Wheeler
            wrote on last edited by
            #17

            C:\> cd \windows\system32
            C:\windows\system32> regsvr32 /u zipfdlr.dll

            Problem solved.

            Software Zen: delete this;
            Fold With Us![^]

            A 1 Reply Last reply
            0
            • B Brady Kelly

              Not properly, not since that time back in '95. :~

              G Offline
              G Offline
              Gary R Wheeler
              wrote on last edited by
              #18

              Did'nt inhale, right? Uh-huh.

              Software Zen: delete this;
              Fold With Us![^]

              1 Reply Last reply
              0
              • G Gary R Wheeler

                C:\> cd \windows\system32
                C:\windows\system32> regsvr32 /u zipfdlr.dll

                Problem solved.

                Software Zen: delete this;
                Fold With Us![^]

                A Offline
                A Offline
                Alan Balkany
                wrote on last edited by
                #19

                You're missing the point. After you do this the "Compressed (zipped) Folder" option DISAPPEARS from the Send-To menu. You then have to enter: "regsvr32 zipfldr.dll" to reenable it. That was the point of the original post. You've solved nothing.

                G 1 Reply Last reply
                0
                • D Dan Neely

                  *bows* fhatgn

                  You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4.... -- El Corazon

                  N Offline
                  N Offline
                  Nelek
                  wrote on last edited by
                  #20

                  dan neely wrote:

                  fhatgn

                  :confused::confused::confused:

                  Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                  D R E 3 Replies Last reply
                  0
                  • A Alan Balkany

                    You're missing the point. After you do this the "Compressed (zipped) Folder" option DISAPPEARS from the Send-To menu. You then have to enter: "regsvr32 zipfldr.dll" to reenable it. That was the point of the original post. You've solved nothing.

                    G Offline
                    G Offline
                    Gary R Wheeler
                    wrote on last edited by
                    #21

                    Not at all. Unregister the built-in crap, install WinZip. You get much better control over the zipping process, and you can actually treat the ZIP files as files which you lose with the built-in stuff.

                    Software Zen: delete this;
                    Fold With Us![^]

                    A 1 Reply Last reply
                    0
                    • E El Corazon

                      Luca Leonardo Scorcia wrote:

                      We all know UAC is good for us, developers should use it all the time to build better applications

                      Most developers completely miss the meaning behind the UAC. We're not supposed to 'use' it to make better programs. We are supposed to realize that we have been violating admin rights in our software by requesting elevated privledges. But you are right, MS messed up, almost none of us learned what has been echoed for the last 10 years. We've been messing up, the UAC is a symptom of our failings as programmers.

                      _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                      L Offline
                      L Offline
                      Luca Leonardo Scorcia
                      wrote on last edited by
                      #22

                      Don't misunderstand me, I love seeing my applications fail when they mistakingly write a log file to the Program Files directory. I love it because I have catched a bug earlier, and in the process I learnt one thing the hard way when the soft way (read: studying the docs) was not enough. I think that leaving UAC active, unless forced by technical reasons, is the right thing to do. I'd probably like also a switch to disable folder and registry virtualization, at least I could predict the exact behavior in the set [ works, fails ] instead of [ works, fails, maybe ]. UAC is not required to write good software, but good software respects UAC: keeping it enabled may be helpful in the development progress. Unless the OS does not believe predictably, like my rant was trying to express and its followups clarified.

                      Luca The Price of Freedom is Eternal Vigilance. -- Wing Commander IV En Það Besta Sem Guð Hefur Skapað, Er Nýr Dagur. (But the best thing God has created, is a New Day.) -- Sigur Ròs - Viðrar vel til loftárása

                      1 Reply Last reply
                      0
                      • G Gary R Wheeler

                        Not at all. Unregister the built-in crap, install WinZip. You get much better control over the zipping process, and you can actually treat the ZIP files as files which you lose with the built-in stuff.

                        Software Zen: delete this;
                        Fold With Us![^]

                        A Offline
                        A Offline
                        Alan Balkany
                        wrote on last edited by
                        #23

                        Interesting workaround. I'll try it.

                        1 Reply Last reply
                        0
                        • N Nelek

                          dan neely wrote:

                          fhatgn

                          :confused::confused::confused:

                          Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                          D Offline
                          D Offline
                          Dan Neely
                          wrote on last edited by
                          #24

                          Sorry, that should've been fhtagn. my bad. :laugh: :laugh: :laugh: http://en.wikipedia.org/wiki/Cthulhu[^]

                          You know, every time I tried to win a bar-bet about being able to count to 1000 using my fingers I always got punched out when I reached 4.... -- El Corazon

                          1 Reply Last reply
                          0
                          • N Nelek

                            dan neely wrote:

                            fhatgn

                            :confused::confused::confused:

                            Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                            R Offline
                            R Offline
                            Robert Royall
                            wrote on last edited by
                            #25

                            IA! IA! CTHULHU F'THAGN![^]

                            Imagine that you are hired to build a bridge over a river. The river gets slightly wider every day; sometimes it shrinks but nobody can predict when. Your contract says you can't use concrete or steel - the client only provides timber and cut stone (but won't tell you what kind). Gravity changes from hour to hour, as does the viscosity of air. Your only tools are a hacksaw, a chainsaw, a rubber mallet, and a length of rope. Welcome to my world. -Me explaining my job to an engineer

                            1 Reply Last reply
                            0
                            • E El Corazon

                              Luca Leonardo Scorcia wrote:

                              We all know UAC is good for us, developers should use it all the time to build better applications

                              Most developers completely miss the meaning behind the UAC. We're not supposed to 'use' it to make better programs. We are supposed to realize that we have been violating admin rights in our software by requesting elevated privledges. But you are right, MS messed up, almost none of us learned what has been echoed for the last 10 years. We've been messing up, the UAC is a symptom of our failings as programmers.

                              _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                              P Offline
                              P Offline
                              peterchen
                              wrote on last edited by
                              #26

                              El Corazon wrote:

                              UAC is a symptom of our failings as programmers.

                              Not quite true. Take it as a list of weak excuses, but I stand by it: 6 folders to distribute your data between program files\company\App, program files\common, current user\application data current user\local settings\application data all users\application data all users\local settings\application data Do you knwo the rules where goes what? Do you know that Explorer may for these folders show a different name than the file system uses? Crappy Installer technology way to late Windows always lacked support for managing installs, upgrades and dependent components. Windows Installer was long overdue, and took the same time again to become usable. No doubt there is some reason why people dropped all files in one folder, and let admin rights sort it out. The one thing that I like about Vista is that the folder names now make much more sense, but still Microsoft doesn't seem to have made up its mind on who owns the file system.

                              We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                              blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                              E S M 3 Replies Last reply
                              0
                              • E El Corazon

                                Luca Leonardo Scorcia wrote:

                                We all know UAC is good for us, developers should use it all the time to build better applications

                                Most developers completely miss the meaning behind the UAC. We're not supposed to 'use' it to make better programs. We are supposed to realize that we have been violating admin rights in our software by requesting elevated privledges. But you are right, MS messed up, almost none of us learned what has been echoed for the last 10 years. We've been messing up, the UAC is a symptom of our failings as programmers.

                                _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                H Offline
                                H Offline
                                Hans Dietrich
                                wrote on last edited by
                                #27

                                El Corazon wrote:

                                We've been messing up, the UAC is a symptom of our failings as programmers.

                                I think I would say, "We've been messing up, and UAC is our punishment".

                                Best wishes, Hans


                                [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

                                1 Reply Last reply
                                0
                                • P peterchen

                                  El Corazon wrote:

                                  UAC is a symptom of our failings as programmers.

                                  Not quite true. Take it as a list of weak excuses, but I stand by it: 6 folders to distribute your data between program files\company\App, program files\common, current user\application data current user\local settings\application data all users\application data all users\local settings\application data Do you knwo the rules where goes what? Do you know that Explorer may for these folders show a different name than the file system uses? Crappy Installer technology way to late Windows always lacked support for managing installs, upgrades and dependent components. Windows Installer was long overdue, and took the same time again to become usable. No doubt there is some reason why people dropped all files in one folder, and let admin rights sort it out. The one thing that I like about Vista is that the folder names now make much more sense, but still Microsoft doesn't seem to have made up its mind on who owns the file system.

                                  We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                  blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                  E Offline
                                  E Offline
                                  El Corazon
                                  wrote on last edited by
                                  #28

                                  peterchen wrote:

                                  Do you knwo the rules where goes what?

                                  Per Department of Defense Information Assurance Certification and Accreditation Process (DIACAP) Instructions: I am not allowed to write to any common folder, nor all users, nor write to the registry in local settings, nor anywhere else other than program files\company\App and that has to be installed with a rep there and verify compliance prior to fielding (install on his sacrificial sheep machine somewhere in the middle of nowhere). Which means, yes, I know the rules for my software products. All the other locations are restricted due to security violations of path guidelines. If you can write to a common folder you can affect other software systems, so to keep security high, there is one location and one only. The many locations are made for us, because we demand them, MS reacts and says okay, but here are the rules... But you are telling me these rules are more difficult than rocket science? microsoft is responding to three directions, developers, network managers, and users. There are more users than any of us, but network managers have more budgets, and we will complain no matter what they do. So where does that leave us? we'll get a side thought now and then as long as it does not interfere with the other two markets.

                                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                  P 1 Reply Last reply
                                  0
                                  • N Nelek

                                    dan neely wrote:

                                    fhatgn

                                    :confused::confused::confused:

                                    Greetings. -------- M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you “The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson Rating helpfull answers is nice, but saying thanks can be even nicer.

                                    E Offline
                                    E Offline
                                    El Corazon
                                    wrote on last edited by
                                    #29

                                    "Ph'nglui mglw'nafh Cthulhu R'lyeh wgah'nagl fhtagn."

                                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                    R 1 Reply Last reply
                                    0
                                    • P peterchen

                                      El Corazon wrote:

                                      UAC is a symptom of our failings as programmers.

                                      Not quite true. Take it as a list of weak excuses, but I stand by it: 6 folders to distribute your data between program files\company\App, program files\common, current user\application data current user\local settings\application data all users\application data all users\local settings\application data Do you knwo the rules where goes what? Do you know that Explorer may for these folders show a different name than the file system uses? Crappy Installer technology way to late Windows always lacked support for managing installs, upgrades and dependent components. Windows Installer was long overdue, and took the same time again to become usable. No doubt there is some reason why people dropped all files in one folder, and let admin rights sort it out. The one thing that I like about Vista is that the folder names now make much more sense, but still Microsoft doesn't seem to have made up its mind on who owns the file system.

                                      We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                      blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                      S Offline
                                      S Offline
                                      supercat9
                                      wrote on last edited by
                                      #30

                                      While I guess I shouldn't complain too strongly about Microsoft's desire to leave the root directory reasonably clean, dumping all the applications in a directory called "Program Files" seems rather annoying especially given (1) the generally awkward handling of spaces in filenames, and (2) the even worse handling of trying to start programs with spaces in the path. How about having a nice easy environment variable to set the path, but having the default--on systems where it wouldn't cause naming conflicts, be something short like "APP"?

                                      P 1 Reply Last reply
                                      0
                                      • E El Corazon

                                        peterchen wrote:

                                        Do you knwo the rules where goes what?

                                        Per Department of Defense Information Assurance Certification and Accreditation Process (DIACAP) Instructions: I am not allowed to write to any common folder, nor all users, nor write to the registry in local settings, nor anywhere else other than program files\company\App and that has to be installed with a rep there and verify compliance prior to fielding (install on his sacrificial sheep machine somewhere in the middle of nowhere). Which means, yes, I know the rules for my software products. All the other locations are restricted due to security violations of path guidelines. If you can write to a common folder you can affect other software systems, so to keep security high, there is one location and one only. The many locations are made for us, because we demand them, MS reacts and says okay, but here are the rules... But you are telling me these rules are more difficult than rocket science? microsoft is responding to three directions, developers, network managers, and users. There are more users than any of us, but network managers have more budgets, and we will complain no matter what they do. So where does that leave us? we'll get a side thought now and then as long as it does not interfere with the other two markets.

                                        _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb) John Andrew Holmes "It is well to remember that the entire universe, with one trifling exception, is composed of others."

                                        P Offline
                                        P Offline
                                        peterchen
                                        wrote on last edited by
                                        #31

                                        El Corazon wrote:

                                        But you are telling me these rules are more difficult than rocket science?

                                        No, but it made most people end up the same as you and me: writing everything to one folder. My problem is not the definition, but that it doesn't work very well in real life - not for developers, nor for users. For network managers, maybe - that's right.

                                        We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                        blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                        1 Reply Last reply
                                        0
                                        • P peterchen

                                          El Corazon wrote:

                                          UAC is a symptom of our failings as programmers.

                                          Not quite true. Take it as a list of weak excuses, but I stand by it: 6 folders to distribute your data between program files\company\App, program files\common, current user\application data current user\local settings\application data all users\application data all users\local settings\application data Do you knwo the rules where goes what? Do you know that Explorer may for these folders show a different name than the file system uses? Crappy Installer technology way to late Windows always lacked support for managing installs, upgrades and dependent components. Windows Installer was long overdue, and took the same time again to become usable. No doubt there is some reason why people dropped all files in one folder, and let admin rights sort it out. The one thing that I like about Vista is that the folder names now make much more sense, but still Microsoft doesn't seem to have made up its mind on who owns the file system.

                                          We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                          blog: TDD - the Aha! | Linkify!| FoldWithUs! | sighist

                                          M Offline
                                          M Offline
                                          Member 96
                                          wrote on last edited by
                                          #32

                                          You missed at least one important one: \ProgramData :)

                                          peterchen wrote:

                                          Do you knwo the rules where goes what?

                                          Yes, anyone who has done any amount of dev. to properly support vista and UAC / Virtualization and pored over the horrible hodge podge collection of docs from Microsoft to find out how to do it right probably has a pretty good idea which of those folders to use for what and which registry keys and hives to use for what.

                                          peterchen wrote:

                                          Crappy Installer technology way to late Windows always lacked support for managing installs, upgrades and dependent components. Windows Installer was long overdue, and took the same time again to become usable.

                                          Ironically I started out with Inno Setup many years ago when coding for win95 went through InstallShield (spit) and then Windows setup and deployment projects and finally came back to Inno Setup because I found it far easier to accomplish a solid Vista installer for complex apps.


                                          "The great pleasure in life is doing what people say you cannot do." - Walter Bagehot

                                          P 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups