home > 比較編 > Perl, PHP, Python, Ruby > directories >

ForNext

Only Do What Only You Can Do

196. remove directory and contents

VBScript

JScript

Perl

use File::Path 'remove_tree';

remove_tree "/tmp/foodir";

PHP

none


Python

import shutil

shutil.rmtree('/tmp/foodir')

Ruby

require 'fileutils'

FileUtils.rm_rf("/tmp/foodir")

PowerShell

Scala

F#

C

C++

C++Builder

VC++

C#

Java

Objective-C

D

VB

VB.NET

Delphi

Ada

PL/SQL

T-SQL

関数型

inserted by FC2 system