Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Using a for loop to make unlimited folders  (Read 22724 times)

0 Members and 1 Guest are viewing this topic.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Using a for loop to make unlimited folders
« Reply #30 on: February 16, 2009, 01:32:24 PM »
No, it's not. Why would I put compress something to RAR, if you use the folder or file frequently a password would be roadkill.


it doesn't hide it. anybody can access it. a quick dir /a will reveal the files, and changing a few options in windows explorer will allow them to be displayed there, too.

you also missed my previous point. If somebody can easily create folders in windows explorer or the command prompt, why add the additional complication of a clunky batch program to do this creation? RD is a wrapper to the OS function to remove directories which in and of itself is a paradigm exposed by the filesystem and subsequently stored on disk as a series of bytes. There are only so many levels of indirection before further abstraction becomes ridiculously unnecessary.


As the big C has told you, acting like you know everything doesn't make it true, and this is directly related to your attitude towards perfectly valid suggestions. Calling them "stupid" and so forth doesn't instantly make your silly quests to wrap simple DOS functions in pages and pages of prompts and added features that really just add unnecessary bloat to the basic, simple, and yet oh so powerful commands. It's also somewhat silly to hint at the suggestion of knowing what I think. It is, and still is one the more naive things I've seen on this forum. Security by obscurity is just foolishness- If you want to prevent something from getting into the hands of others, it needs to be heavily protected via passwords and the like, hiding the files will simply draw attention to them by making it obvious that an attempt was made to keep the files out of the view of the casual user.


Besides, what would you need to hide anyway? (which also begs the question of where this fork of the discussion came from)


EDIT:

password protected RAR files are the best way to store goat porn.
I was trying to dereference Null Pointers before it was cool.

Dias de verano

  • Guest
Re: Using a for loop to make unlimited folders
« Reply #31 on: February 16, 2009, 01:38:07 PM »
Look what I found on BFC's hard drive!

[Image Removed]
« Last Edit: February 16, 2009, 06:21:40 PM by Carbon Dudeoxide »

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Using a for loop to make unlimited folders
« Reply #32 on: February 16, 2009, 01:39:53 PM »
ooh! I need a copy of that fo.... for um... *Ahem* documentation purposes. in the case file. yeah. we must build up a case and I volunteer to harbor this disgusting material on my hard drive. I will access it frequently, but solely for the purpose of ensuring it didn't magically disappear.
I was trying to dereference Null Pointers before it was cool.

Dias de verano

  • Guest
Re: Using a for loop to make unlimited folders
« Reply #33 on: February 16, 2009, 01:43:22 PM »
That was a mild picture compared to some of the others.

BC_Programmer


    Mastermind
  • Typing is no substitute for thinking.
  • Thanked: 1140
    • Yes
    • Yes
    • BC-Programming.com
  • Certifications: List
  • Computer: Specs
  • Experience: Beginner
  • OS: Windows 11
Re: Using a for loop to make unlimited folders
« Reply #34 on: February 16, 2009, 01:51:44 PM »
Of course, of course, you could only have shown something that wasn't inappropriate. BFC how could you. Now I must make duplicates of these files and archive them safely on my drive and make sure they exist every day.

In exchange I will provide the newest edition of "Goat Love: Getting the hairs out"

I was trying to dereference Null Pointers before it was cool.

Dias de verano

  • Guest
Re: Using a for loop to make unlimited folders
« Reply #35 on: February 16, 2009, 01:56:05 PM »
[image removed]

Incidentally, if you want to store things away from prying eyes, not only password the rar file, but also give it a non-informative name, such as a mixture of letters and numbers, and take off the extension. That way, a casual click in Explorer will get the wannabe viewer nowhere. The command line rar.exe will extract from such a file if you use a wildcard for the filespec. (rar e *.* will find the header and merrily extract from any archive it finds)


« Last Edit: February 16, 2009, 06:22:09 PM by Carbon Dudeoxide »

BatchRocks



    Hopeful
  • Thanked: 3
    Re: Using a for loop to make unlimited folders
    « Reply #36 on: February 16, 2009, 05:34:32 PM »
    Dias, stop being a jerk and bossing everyone around.

    Hiding the file, it's literally, HIDDEN, there aren't any buttons to 'unhide' or anything.

    BatchFileCommand

      Topic Starter


      Hopeful
    • Thanked: 1
      Re: Using a for loop to make unlimited folders
      « Reply #37 on: February 16, 2009, 06:13:56 PM »
      Go get yourself banned with those pictures. That's flaming.
      οτη άβγαλτος μεταφ βαθμολογία

      Carbon Dudeoxide

      • Global Moderator

      • Mastermind
      • Thanked: 169
        • Yes
        • Yes
        • Yes
      • Certifications: List
      • Experience: Guru
      • OS: Mac OS
      Re: Using a for loop to make unlimited folders
      « Reply #38 on: February 16, 2009, 06:24:32 PM »
      Useless images removed by request.

      BTW Hidden files can be seen as shown in Dias' post.

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Using a for loop to make unlimited folders
      « Reply #39 on: February 17, 2009, 03:20:09 AM »
      Dias, stop being a jerk and bossing everyone around.

      Hiding the file, it's literally, HIDDEN, there aren't any buttons to 'unhide' or anything.

      YES. THERE IS. It's a option right in windows explorer, "Show hidden files" (DER! I WONDER WHAT THAT DOES?) and a simple switch on a dir will reveal the files. there is nothing "hidden" about them.

      The only thing they will prevent is some casual user stumbling upon them- but 75% of the computer literate population is aware of the hidden files and folders checkbox.


      Dias isn't being a jerk. BFC is being the pompous know it all without the knowledge to back it up. Dias is a know it all, but only where applicable.

      Rather then simply SAY there is no way to "unhide" the file, maybe you should actually venture into the Folder options dialog.


      Go get yourself banned with those pictures. That's flaming.

      No it isn't. You apparently don't know the definition of the word flaming. It was off-topic, but nothing more.
      I was trying to dereference Null Pointers before it was cool.

      mroilfield



        Mentor
      • Thanked: 42
        • Yes
        • Yes
      • Computer: Specs
      • Experience: Experienced
      • OS: Windows 11
      Re: Using a for loop to make unlimited folders
      « Reply #40 on: February 17, 2009, 05:27:37 AM »
      Considering this post started on Valentine's day I guess all the love ran out that day as well.

      BatchFileCommand,

      Having a signature that says you can hack EBAY doesn't really instill confidence in others when you say this isn't for anything bad.
      You can't fix Stupid!!!

      BatchFileCommand

        Topic Starter


        Hopeful
      • Thanked: 1
        Re: Using a for loop to make unlimited folders
        « Reply #41 on: February 17, 2009, 06:17:39 AM »
        Having a signature that says you can hack EBAY doesn't really instill confidence in others when you say this isn't for anything bad.


        Oh, you actually took that seriously? Hm, I thought no one would.
        οτη άβγαλτος μεταφ βαθμολογία

        Dias de verano

        • Guest
        Re: Using a for loop to make unlimited folders
        « Reply #42 on: February 17, 2009, 06:26:56 AM »
        Dias is a know it all, but only where applicable.

        Thanks for the words after the comma  :)

        BC_Programmer


          Mastermind
        • Typing is no substitute for thinking.
        • Thanked: 1140
          • Yes
          • Yes
          • BC-Programming.com
        • Certifications: List
        • Computer: Specs
        • Experience: Beginner
        • OS: Windows 11
        Re: Using a for loop to make unlimited folders
        « Reply #43 on: February 17, 2009, 09:12:49 AM »
        Dias is a know it all, but only where applicable.

        Thanks for the words after the comma  :)

        Yes, and for all intents and purposes applicable generally means 99% of the time. the 1% you don't know I'm sure you'll readily admit, unlike our friend BFC, who knows very little and yet will jump into any discussion as if it's his domain.

        lol, like when somebody listed a VB program and he claimed it needed to use echo.... OMG that was hilarious....
        I was trying to dereference Null Pointers before it was cool.

        Dias de verano

        • Guest
        Re: Using a for loop to make unlimited folders
        « Reply #44 on: February 17, 2009, 12:09:56 PM »
        the 1% you don't know I'm sure you'll readily admit, unlike our friend BFC, who knows very little and yet will jump into any discussion as if it's his domain.

        If I don't know I generally don't bother posting, unlike some people, as I agree with the dictum of the philosopher Ludwig Wittgenstein, who wrote ""Whereof one cannot speak, thereof one must be silent."