Difference between revisions of "Make a directory"

From CodeCodex

m (Text replace - "<highlightsyntax " to "<pre ")
m (Text replace - "language="java122"" to "class="java"")
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
===Java===  
 
===Java===  
 
For application only, not Applet!  
 
For application only, not Applet!  
<pre language="java122">
+
<pre class="java">
 
File td = new File("NewDirName");
 
File td = new File("NewDirName");
 
td.mkDir();
 
td.mkDir();
</highlightsyntax>
+
</pre>
  
 
=== Tcl ===
 
=== Tcl ===

Latest revision as of 05:26, 7 January 2012

Implementations[edit]

Java[edit]

For application only, not Applet!

File td = new File("NewDirName");
td.mkDir();

Tcl[edit]

file mkdir mydir