| View previous topic :: View next topic |
| Author |
Message |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Thu Feb 05, 2009 8:48 am Post subject: [solved]creating folder |
|
|
Hi,
is there an command to create a new folder?
thx,
tueb _________________ #Quiz.de @ irc.GameSurge.net
JavaChat
Last edited by tueb on Thu Feb 05, 2009 1:05 pm; edited 1 time in total |
|
| Back to top |
|
 |
DaRkOoO Halfop
Joined: 27 Sep 2008 Posts: 67
|
Posted: Thu Feb 05, 2009 9:42 am Post subject: |
|
|
| mkdir foldername |
|
| Back to top |
|
 |
arfer Master

Joined: 26 Nov 2004 Posts: 436 Location: Manchester, UK
|
Posted: Thu Feb 05, 2009 11:10 am Post subject: |
|
|
In Tcl the full command syntax is :-
file mkdir dir ?dir ...?
mkdir used alone is Eggdrop Tcl used for the bot's filesystem and, as far as I am aware, requires that the filesys module is loaded (it is not loaded by default). |
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Thu Feb 05, 2009 12:47 pm Post subject: |
|
|
thx, I will try that
PS: the one with "file" in fropnt worked:
| Code: |
[file mkdir "newfolder"]
|
_________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Thu Feb 05, 2009 2:35 pm Post subject: |
|
|
..and how do i check if a folder already exists? =) _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
arfer Master

Joined: 26 Nov 2004 Posts: 436 Location: Manchester, UK
|
|
| Back to top |
|
 |
tueb Halfop
Joined: 04 Oct 2007 Posts: 76 Location: #quiz.de @ irc.gamesurge.net
|
Posted: Fri Feb 06, 2009 12:36 pm Post subject: |
|
|
thx _________________ #Quiz.de @ irc.GameSurge.net
JavaChat |
|
| Back to top |
|
 |
|