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. Interesting

Interesting

Scheduled Pinned Locked Moved The Lounge
comcollaborationtoolsquestion
46 Posts 27 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.
  • M Malcolm Smart

    I've managed, programmatically, to create a folder :- z:\test\my file.. - The two periods at the end of the folder now prevent me from deleting and I can't delete it in the same manner it was created! Any ideas anyone? ********************************************* The sooner you fall behind, the longer you have to catch up.

    N Offline
    N Offline
    Nish Nishant
    wrote on last edited by
    #29

    I think you can delete the containing folder - after moving other required files in it elsewhere.

    1 Reply Last reply
    0
    • M Malcolm Smart

      I've managed, programmatically, to create a folder :- z:\test\my file.. - The two periods at the end of the folder now prevent me from deleting and I can't delete it in the same manner it was created! Any ideas anyone? ********************************************* The sooner you fall behind, the longer you have to catch up.

      N Offline
      N Offline
      Niall Barr
      wrote on last edited by
      #30

      Use the command prompt - get the short name using dir /x and then delete the file using that name.

      1 Reply Last reply
      0
      • E Eytukan

        ThatsAlok wrote: cheers, Alok Gupta VC Forum Q&A :- I/ IV i wonder your Sig. hasn't changed :~ ??. its time. Every man should marry. After all, happiness is not the only thing in life. --[v]--

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #31

        Vivekuniq wrote: i wonder your Sig. hasn't changed ??. its time. What change Should I bring in This :)

        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

        cheers, Alok Gupta VC Forum Q&A :- I/ IV

        E 1 Reply Last reply
        0
        • N Nish Nishant

          Don Miguel wrote: seems to me that indians are very smart... Don Miguel wrote: indeed, they hired to many indians.... Don While the original poster did post a crappy chain-mail, I found your comments reeking of racism. Nish

          D Offline
          D Offline
          Don Miguel
          wrote on last edited by
          #32

          Nishant Sivakumar wrote: I found your comments reeking of racism. Sorry Nish, no racism intended here.

          N 1 Reply Last reply
          0
          • S sreejith ss nair

            Something VERY Interesting........... Do try this out. An Indian discovered that nobody can create a folder anywhere named as "con" This is something pretty cool...and unbelievable... At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! Try it out yourself... Sreejith Nair [ My Articles ]

            T Offline
            T Offline
            ThatsAlok
            wrote on last edited by
            #33

            Sreejith SS Nair wrote: An Indian discovered that nobody can create a folder anywhere named as "con" Microsoft does not recommend that you use the following names as site codes: AUX, CON, NUL, and PRN Several SMS components use the site code as a folder name, and because these names are reserved names in Windows, folders cannot be created with these names. These names are reserved in all versions of Windows. Although you may not experience a problem when you install SMS and designate these site codes, you may experience problems later. For example, you may not be able to successfully install legacy clients or to correctly set up SMS 2.0 logon points because some folders cannot be correctly created.

            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

            cheers, Alok Gupta VC Forum Q&A :- I/ IV

            J 1 Reply Last reply
            0
            • D Don Miguel

              Nishant Sivakumar wrote: I found your comments reeking of racism. Sorry Nish, no racism intended here.

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #34

              Don Miguel wrote: Sorry Nish, no racism intended here. Don, I guess I over-reacted too there. The original post was pretty annoying in that it kinda made most Indians look like fools and then when I saw your Indian-targeted joke, I got real angry. Sorry for that. Friends now, right? :rose:

              S 1 Reply Last reply
              0
              • T ThatsAlok

                Sreejith SS Nair wrote: An Indian discovered that nobody can create a folder anywhere named as "con" Microsoft does not recommend that you use the following names as site codes: AUX, CON, NUL, and PRN Several SMS components use the site code as a folder name, and because these names are reserved names in Windows, folders cannot be created with these names. These names are reserved in all versions of Windows. Although you may not experience a problem when you install SMS and designate these site codes, you may experience problems later. For example, you may not be able to successfully install legacy clients or to correctly set up SMS 2.0 logon points because some folders cannot be correctly created.

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV

                J Offline
                J Offline
                James R Twine
                wrote on last edited by
                #35

                ThatsAlok wrote: and because these names are reserved names in Windows, folders cannot be created with these names    Actually, that is not true.  You can create (and delete) files and folders with otherwise reserved (Device) names, as I responded to the original poster.  You just have to know how to do it from the command prompt (syntax) or using the API (Unicode) directly.    Peace! -=- James


                If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                DeleteFXPFiles & CheckFavorites (Please rate this post!)

                C 1 Reply Last reply
                0
                • S sreejith ss nair

                  Something VERY Interesting........... Do try this out. An Indian discovered that nobody can create a folder anywhere named as "con" This is something pretty cool...and unbelievable... At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! Try it out yourself... Sreejith Nair [ My Articles ]

                  M Offline
                  M Offline
                  Mike Dimmick
                  wrote on last edited by
                  #36

                  Raymond Chen, of Microsoft, blogged about this[^] nearly two years ago. Stability. What an interesting concept. -- Chris Maunder

                  1 Reply Last reply
                  0
                  • N Nish Nishant

                    Don Miguel wrote: seems to me that indians are very smart... Don Miguel wrote: indeed, they hired to many indians.... Don While the original poster did post a crappy chain-mail, I found your comments reeking of racism. Nish

                    J Offline
                    J Offline
                    Jerry Hammond
                    wrote on last edited by
                    #37

                    You mean like the original poster's message that "indians" discovered? Relax, Nish, that was what he was poking fun at. "Art doesn't want to be familiar. It wants to astonish us. Or, in some cases, to enrage us. It wants to move us. To touch us. Not accommodate us, make us comfortable." -- Jamake Highwater Toasty0.com My Grandkids

                    1 Reply Last reply
                    0
                    • J James R Twine

                      ThatsAlok wrote: and because these names are reserved names in Windows, folders cannot be created with these names    Actually, that is not true.  You can create (and delete) files and folders with otherwise reserved (Device) names, as I responded to the original poster.  You just have to know how to do it from the command prompt (syntax) or using the API (Unicode) directly.    Peace! -=- James


                      If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                      Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                      DeleteFXPFiles & CheckFavorites (Please rate this post!)

                      C Offline
                      C Offline
                      Chintoo723
                      wrote on last edited by
                      #38

                      James R. Twine wrote: You just have to know how to do it from the command prompt (syntax) or using the API (Unicode) directly.

                      C:\>copy con \\.\c:\con
                      foo bar
                      ^Z
                      1 file(s) copied.

                      C:\>type \\.\c:\con
                      foo bar

                      J 1 Reply Last reply
                      0
                      • C Chintoo723

                        James R. Twine wrote: You just have to know how to do it from the command prompt (syntax) or using the API (Unicode) directly.

                        C:\>copy con \\.\c:\con
                        foo bar
                        ^Z
                        1 file(s) copied.

                        C:\>type \\.\c:\con
                        foo bar

                        J Offline
                        J Offline
                        James R Twine
                        wrote on last edited by
                        #39

                        See? :) Peace! -=- James


                        If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                        Tip for new SUV drivers: Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                        DeleteFXPFiles & CheckFavorites (Please rate this post!)

                        1 Reply Last reply
                        0
                        • T ThatsAlok

                          Vivekuniq wrote: i wonder your Sig. hasn't changed ??. its time. What change Should I bring in This :)

                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                          cheers, Alok Gupta VC Forum Q&A :- I/ IV

                          E Offline
                          E Offline
                          Eytukan
                          wrote on last edited by
                          #40

                          + MVP :-D Every man should marry. After all, happiness is not the only thing in life. --[v]--

                          T 1 Reply Last reply
                          0
                          • E Eytukan

                            + MVP :-D Every man should marry. After all, happiness is not the only thing in life. --[v]--

                            T Offline
                            T Offline
                            ThatsAlok
                            wrote on last edited by
                            #41

                            Vivekuniq wrote: + MVP Time Has To change for that :)...

                            "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                            cheers, Alok Gupta VC Forum Q&A :- I/ IV

                            1 Reply Last reply
                            0
                            • S sreejith ss nair

                              Yes. Ofcourse. But i am also trying to find solution / root of this problem. Hope we would suggect something to Microsoft.:-D Sreejith Nair [ My Articles ]

                              D Offline
                              D Offline
                              Dave Kreskowiak
                              wrote on last edited by
                              #42

                              Nobody at Microsoft could answer this problem? Yeah, right! :laugh: Anyone who knows DOS/Unix/CPM can! Like in a previous post, you can't create a file or folder using an existing device name. You can't create LPT_x_, COM_x_, CON, ... Same is true for xx_IX systems too, I think. CON is the device name for the Console. Try this: Open a CMD prompt. Type COPY CON TEST.TXT. The cursor will appear on a blank line, so type a bunch of garbage, ENTER will go to the next line. When done, hit F6 then ENTER. You'll find a file in the current folder called TEST.TXT. You might want to open it in Notepad to see what's inside. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!_" -- The Roaming Gnome

                              1 Reply Last reply
                              0
                              • G Gary Wheeler

                                I would imagine the reason that you can't have a username of CON or any of the other device names is due to the profile path, which includes the username (C:\Documents and Settings\_username_\...). Amazing how those little bits of MS-DOS keep hanging on :rolleyes:.


                                Software Zen: delete this;

                                D Offline
                                D Offline
                                Dave Kreskowiak
                                wrote on last edited by
                                #43

                                I would image that the same limitations exist under CPM and Unix too. The device names are pretty standard acrossed the board. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

                                1 Reply Last reply
                                0
                                • S sreejith ss nair

                                  Something VERY Interesting........... Do try this out. An Indian discovered that nobody can create a folder anywhere named as "con" This is something pretty cool...and unbelievable... At Microsoft the whole Team, including Bill Gates, couldn't answer why this happened! Try it out yourself... Sreejith Nair [ My Articles ]

                                  J Offline
                                  J Offline
                                  Joe Woodbury
                                  wrote on last edited by
                                  #44

                                  Next, they will discover you can't use ':', '|', '<' or '>' in a file name. Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                                  1 Reply Last reply
                                  0
                                  • N Nish Nishant

                                    Don Miguel wrote: Sorry Nish, no racism intended here. Don, I guess I over-reacted too there. The original post was pretty annoying in that it kinda made most Indians look like fools and then when I saw your Indian-targeted joke, I got real angry. Sorry for that. Friends now, right? :rose:

                                    S Offline
                                    S Offline
                                    sreejith ss nair
                                    wrote on last edited by
                                    #45

                                    Nishant Sivakumar wrote :The original post was pretty annoying in that it kinda made most Indians look like fools and then when I saw your Indian-targeted joke I do agree that i commited a small mistake. But at the same point of time i don't think that message was annoying one. Cause i posted in 'The Lounge' thread. Sreejith Nair [ My Articles ] -- modified at 0:07 Tuesday 11th October, 2005

                                    1 Reply Last reply
                                    0
                                    • P Priyank Bolia

                                      What a foolish post, are you trying to make all Indians fools in front of the whole world. We need a baby's forum too here. Few days ago one of my friend whom I believed to be intelligent asked me the same question, and I was suprised that people don't know that much, just a basic MSDN search would be able to give answer to such basic questions. http://www.priyank.in/

                                      S Offline
                                      S Offline
                                      sreejith ss nair
                                      wrote on last edited by
                                      #46

                                      Priyank Bolia wrote :What a foolish post, are you trying to make all Indians fools in front of the whole world. No one can make others fools, if they are good enough. But if you feel like you become fool because of my post then that is your mistake. And obeviously we have lot of thing to learn. That may be basic or expert level. I got this informations few days back. So i just thought of sharing this to other members. Priyank Bolia wrote : We need a baby's forum too here. If you think that we need a baby forum then i suggest you to post the same point in suggection forum. Priyank Bolia wrote Few days ago one of my friend whom I believed to be intelligent asked me the same question, and I was suprised that people don't know that much, You thought that your friend is intelligent, i can't comment anything on this cause that was your mistake and your are agreeing that. And there is no need to surprise for his doubt. Cause learning is an ever ending process. Sreejith Nair [ My Articles ]

                                      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