Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
Directory listing
Forums
Active Threads
Search
Who's Online
Help
Print Thread
Directory listing
#
119437
05/05/05
03:34 PM
Joined:
Apr 2005
Posts: 53
A
aDevil
OP
Babel fish
OP
aDevil
Babel fish
A
Joined:
Apr 2005
Posts: 53
Maybe exists a way to list the tree list on my c:\ drive?
Last edited by aDevil;
05/05/05
03:34 PM
.
Copy Link to Clipboard
Re: Directory listing
#
119438
05/05/05
04:17 PM
Joined:
Dec 2002
Posts: 3,547
Kent, England
S
SladeKraven
Hoopy frood
SladeKraven
Hoopy frood
S
Joined:
Dec 2002
Posts: 3,547
Kent, England
There is no known mIRC command to list a tree diagram of your C drive. You can however get the number of folders in your C drive with $finddir(C:\,*,0).
-Andy
Copy Link to Clipboard
Re: Directory listing
#
119439
05/05/05
04:21 PM
Joined:
Apr 2005
Posts: 53
A
aDevil
OP
Babel fish
OP
aDevil
Babel fish
A
Joined:
Apr 2005
Posts: 53
Thanks, a bit slow if you write there 0, but with this identifier I got an other way, and now I can write, thanks a lot
Copy Link to Clipboard
Re: Directory listing
#
119440
05/05/05
04:24 PM
Joined:
Dec 2002
Posts: 3,547
Kent, England
S
SladeKraven
Hoopy frood
SladeKraven
Hoopy frood
S
Joined:
Dec 2002
Posts: 3,547
Kent, England
0 returns all the folders and sub folders with in C drive. 1 returns the first folder in C drive etc..
Copy Link to Clipboard
Re: Directory listing
#
119441
05/05/05
04:31 PM
Joined:
Apr 2005
Posts: 53
A
aDevil
OP
Babel fish
OP
aDevil
Babel fish
A
Joined:
Apr 2005
Posts: 53
Yes I got this idea, so i list until my variable is $null because if I ask the number of folders the mIRC is delaying a while
)
Copy Link to Clipboard
Re: Directory listing
#
119442
05/05/05
04:37 PM
Joined:
Apr 2005
Posts: 53
A
aDevil
OP
Babel fish
OP
aDevil
Babel fish
A
Joined:
Apr 2005
Posts: 53
alias tree {
tokenize 32 tree
.
.
.
.
and when I type tree c, then the $2 don't give back the c, $2 give nothing.
What is the problem?
Copy Link to Clipboard
Re: Directory listing
#
119443
05/05/05
07:27 PM
Joined:
Dec 2002
Posts: 3,547
Kent, England
S
SladeKraven
Hoopy frood
SladeKraven
Hoopy frood
S
Joined:
Dec 2002
Posts: 3,547
Kent, England
Just do something like..
Code:
alias tree { if ($1) { commands } }
$2 will be $null, $1 will be the drive parameter.
-Andy
Copy Link to Clipboard
Re: Directory listing
#
119444
05/05/05
08:12 PM
Joined:
Sep 2003
Posts: 4,230
D
DaveC
Hoopy frood
DaveC
Hoopy frood
D
Joined:
Sep 2003
Posts: 4,230
$sdir(c:\)
Copy Link to Clipboard
Re: Directory listing
#
119445
06/05/05
12:30 AM
Joined:
Feb 2004
Posts: 2,019
Leuven, Belgium
FiberOPtics
Hoopy frood
FiberOPtics
Hoopy frood
Joined:
Feb 2004
Posts: 2,019
Leuven, Belgium
Heh yea, what on earth were they thinking
Gone.
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage