mIRC Home    About    Download    Register    News    Help

Print Thread
#194376 03/02/08 09:02 AM
S
Solo1
Solo1
S
Greetings.

I am trying to make an alias to make a file hidden as one can do in windows by right clicking the file and selecting hide, but i have no experience with com and wondering if anyone could assist. I would like something like a command /hide <path to filename>

Many Thanks in advance

Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
You should be able to just use /run -n cmd attrib filename using the correct switches for attrib to hide the file. It'll be something along those lines... cmd may need a switch of its own... I forget.

S
Solo1
Solo1
S
Hi Riamus2

Thanks for your reply, i tried googling for the correct attrib and no luck, could you be a little more specific?

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Or you can try this COM snippet.

S
Solo1
Solo1
S
Hi Riamus2 i di more googling and found it, its attrib +h thanks alot

S
Solo1
Solo1
S
thanks, qwerty will check it out

S
Solo1
Solo1
S
I noticed something really weird, mIRC cannot handle hidden files? for example /hsave would not save a hidden file, i get an error
* /hsave: unable to open file

Can anyone confirm the same? and is there a work around?


Link Copied to Clipboard