spaces in file name
- From: irfan_sayed2002@xxxxxxxxx (Irfan Sayed)
- Date: Thu, 18 Jun 2009 00:14:01 -0700 (PDT)
Hi All,
I am stuck on parsing file name if it has space.
I have file name as : file system.proj
now this file contains space between worf file and system
now i want to do ceratin operation on this file
but whenever i give this file name in any command then it fails saying that file does not exist. it is only considering file word and not the whle file name.
i dont know how to handle this sitiuation . i tried applying double quotes to file name but no luck.
here is my actual code:
$vd="file system.proj";
$svn = "svn delete $vd";
if (system($svn)) {
print "Deletion of vdproj file failed\n";
exit 1;
}
plz advide
Regards
Irf
- Follow-Ups:
- Re: spaces in file name
- From: Chas. Owens
- Re: spaces in file name
- Prev by Date: Re: Replace pattern with a variable num of spaces
- Next by Date: perldoc perlboot
- Previous by thread: Re: Replace pattern with a variable num of spaces
- Next by thread: Re: spaces in file name
- Index(es):