Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

#include does not accept spaces!

Community Beginner ,
Sep 12, 2012 Sep 12, 2012

Hi again!!

Trying to execute a script with the #include command.

It works great when the path does not conatin any spaces but else it fails and say that it cant find the file. Even networkshares work without spaces.

You may think that i have not tried to enclose it in " " signs but i actually have tried that with no success

#include Y:\scripts\ClintEastwood\script.jsx //WIN!!

#include Y:\scripts\Clint Eastwood\script.jsx //FAIL!!

#include 'Y:\scripts\Clint Eastwood\script.jsx' //FAIL!!

#include "Y:\scripts\Clint Eastwood\script.jsx" //FAIL!!

Anyone have an idea on how to solve this, i will give you a goldstar if you do :=)

// Mr Clint

TOPICS
Scripting
1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Sep 12, 2012 Sep 12, 2012

Don't quote and replace the space with %20

Translate
Adobe
Guru ,
Sep 12, 2012 Sep 12, 2012

Don't quote and replace the space with %20

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 12, 2012 Sep 12, 2012

Thanks again Muppet!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 13, 2012 Sep 13, 2012

Where my gold star then?  You no mark this helpful or answered…

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 13, 2012 Sep 13, 2012

...that's it, Mr Eastwood added to the black list

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 14, 2012 Sep 14, 2012

OMG Sorry!! I Usually don't forget!

Oh, you can mark as correct aswell, just not helpful! Lets do that instead

Here is the star Sheriff!

Muppet.jpg

// Mr Cllint!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Sep 14, 2012 Sep 14, 2012
LATEST

Thanks I will cut it out and stick it to the beer fridge door…

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 12, 2012 Sep 12, 2012

try this

'Y:/scripts/Clint Eastwood/script.jsx'

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines