Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

windows folder names with spaces a problem

Status
Not open for further replies.

spencoid9

Technical User
Dec 18, 2003
3
US
Is there any way to work with folder names containing spaces from within a perl program? Even a simple test of specifying a path name to a folder with a space in it results in failure. Perl does not see past the first space in the name and looks for what preceeded it.
 
Wrap it in quotes
"C:/Program Files/Application Data"

Should get you out, if not %20 substituted for spaces should work

HTH
--Paul
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top