mIRC Home    About    Download    Register    News    Help

Print Thread
#194376 03/02/08 09:02 AM
Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
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,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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.


Invision Support
#Invision on irc.irchighway.net
Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
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,523
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,523
Or you can try this COM snippet.


/.timerQ 1 0 echo /.timerQ 1 0 $timer(Q).com
Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
Hi Riamus2 i di more googling and found it, its attrib +h thanks alot

Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
thanks, qwerty will check it out

Joined: Mar 2007
Posts: 139
S
Solo1 Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Mar 2007
Posts: 139
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