Difference between revisions of "Make a directory"

From CodeCodex

(Implementations)
m (Text replace - "<highlightsyntax " to "<pre ")
Line 2: Line 2:
 
===Java===  
 
===Java===  
 
For application only, not Applet!  
 
For application only, not Applet!  
<highlightsyntax language="java122">
+
<pre language="java122">
 
File td = new File("NewDirName");
 
File td = new File("NewDirName");
 
td.mkDir();
 
td.mkDir();

Revision as of 20:00, 6 January 2012

Implementations

Java

For application only, not Applet!

File td = new File("NewDirName");
td.mkDir();
</highlightsyntax>

=== Tcl ===
<pre class="tcl">
file mkdir mydir