Current directory : File « Win32 « Perl






Current directory

   

#!/usr/bin/perl -w
use Win32;

$cwd    = Win32::GetCwd();

print "Current directory=$cwd\n";

   
    
    
  








Related examples in the same category

1.To change the attributes, you can call SetAttributes.
2.File system
3.Setting file attributes on Windows
4.File all directories