Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
check to see if a folder exists
Forums
Active Threads
Search
Who's Online
Help
Print Thread
check to see if a folder exists
#
189863
12/11/07
06:55 PM
P
pouncer
pouncer
P
how can i check if a certain folder exists in my script directory, and if not, then create it?
Copy Link to Clipboard
Re: check to see if a folder exists
#
189864
12/11/07
06:55 PM
Joined:
Sep 2005
Posts: 2,630
H
hixxy
Hoopy frood
hixxy
Hoopy frood
H
Joined:
Sep 2005
Posts: 2,630
Code:
var %dir = c:\bla\bla if (!$isdir(%dir)) { .mkdir %dir }
Copy Link to Clipboard
Re: check to see if a folder exists
#
189869
12/11/07
07:37 PM
Joined:
Jun 2006
Posts: 506
Storage
D
deegee
Fjord artisan
deegee
Fjord artisan
D
Joined:
Jun 2006
Posts: 506
Storage
You don't really need to check, if you /mkdir an existing folder there's no error.
No need to
.
silence mkdir either, there's no output...
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
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage