There are two ways. Providing you aren't using the system() or exec() functions, you can just use forward slashes:
c:/winnt/file.txt You can also use backslashes, but since that is the character used for escaping other characters, you have to use two backslashes: c:\\winnt\\file.txt -----Original Message----- From: david odell To: beginners perl Sent: 6/7/02 5:37 PM Subject: Specifing path and files in Win32 how do I specifiy a file such as c:\winnt\file.txt in perl ? Thanks _______________________________________________________ WIN a first class trip to Hawaii. Live like the King of Rock and Roll on the big Island. Enter Now! http://r.lycos.com/r/sagel_mail/http://www.elvis.lycos.com/sweepstakes -- 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]