i tried to hide folder using cmd and i used this command attrib +s +h folder_name but its not workin

prajeet

prajeet

@prajeet-emmYpM Oct 22, 2024
i tried to hide folder using cmd and i used this command attrib +s +h folder_name but its not workin

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Aug 22, 2012

    attrib X +s +h +a (X = name of the folder)

    PS: Folder X's contents will be super hidden, not the folder X itself. I mean data content in Folder will be super hidden.
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Aug 22, 2012

    prajeet
    i tried to hide folder using cmd and i used this command attrib +s +h folder_name but its not workin
    First, you shouldn't have typed all of your question in the subject.

    Second, as far as my memory serves me right - attrib works only on files. But I could be wrong. I've not used Windows in the last several months.
  • Kaustubh Katdare

    Kaustubh Katdare

    @thebigk Aug 22, 2012

    Troll_So_Hard
    attrib X +s +h +a (X = name of the folder)
    Don't have a Windows machine to try this out. But the syntax seems to be -

    ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [[drive:][path]filename] [/S]
  • [Prototype]

    [Prototype]

    @prototype-G9Gn5k Aug 22, 2012

    Command is correct. Most probably your folder path or name have spaces in between so you run the command like

    atrrib +h +s "PATH TO THE FOLDER HERE"

    i.e. the path should be in double quote.

    The_Big_K
    First, you shouldn't have typed all of your question in the subject.

    Second, as far as my memory serves me right - attrib works only on files. But I could be wrong. I've not used Windows in the last several months.
    It works for folder as well..😀
  • Abhishek Rawal

    Abhishek Rawal

    @abhishek-fg9tRh Aug 22, 2012

    How about cd to the folder you wanna superhide & then use
    attrib X +s +h +a (X = name of the folder)
    I usually do this & it works.
  • [Prototype]

    [Prototype]

    @prototype-G9Gn5k Aug 22, 2012

    Troll_So_Hard
    How about cd to the folder you wanna superhide & then use
    attrib X +s +h +a (X = name of the folder)
    I usually do this & it works.
    It will work anyways. Since the switches are identified by their own names, their order doesn't matter.
  • X-Engineer

    X-Engineer

    @x-engineer-ZsXLni Aug 22, 2012

    #-Link-Snipped-#:Rather than banging my head on the different forms of answer ,would request you tell us any error you received after executing the command in command prompt.....