Current Directory Name

2002-10-30 Thread Johnstone, Colin
Gidday All,

How do I find out the name of the current directory I am in before I do chdir.

Colin Johnstone 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




RE: Current Directory Name

2002-10-30 Thread Toby Stuart

use strict;
use Cwd;

$dir = cwd;
print $dir;

 -Original Message-
 From: Johnstone, Colin [mailto:Colin.Johnstone;det.nsw.edu.au]
 Sent: Thursday, October 31, 2002 11:20 AM
 To: '[EMAIL PROTECTED]'
 Subject: Current Directory Name
 
 
 Gidday All,
 
 How do I find out the name of the current directory I am in 
 before I do chdir.
 
 Colin Johnstone 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]