• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Do shell script and spaces in path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Do shell script and spaces in path


  • Subject: Do shell script and spaces in path
  • From: Ralf Bitter <email@hidden>
  • Date: Fri, 19 Apr 2002 11:40:08 +0200

Please forgive me, this may have been asked a hundred times,
but I didn't find an answer in the archives.

How do you write a space in a path of a " do shell script" statement?

For example: do shell script "ls -l /Applications/BBEdit\ Lite"

This gives an error. Seems, that a backslash is not allowed in a path,
although this is the way the path is written in a shell.

do shell script "ls -l /Applications/BBEdit Lite" gives an error too,
so how do I have to treat spaces with do shell script?

Any help appreciated.


--

- Ralf Bitter
- dimensionB
- Bitter u. Bitter GmbH
- 3D Animation - interaktive Virtualitdt
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Do shell script and spaces in path
      • From: Simon Forster <email@hidden>
    • Re: Do shell script and spaces in path
      • From: Giuliano Gavazzi <email@hidden>
  • Prev by Date: Make a new playlist window in iTunes X - fails??
  • Next by Date: Re: Select a circle in Photoshop 7?
  • Previous by thread: Re: Make a new playlist window in iTunes X - fails??
  • Next by thread: Re: Do shell script and spaces in path
  • Index(es):
    • Date
    • Thread