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

#include does not accept spaces!

Community Beginner ,
Sep 12, 2012 Sep 12, 2012

Copy link to clipboard

Copied

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

Views

1.3K

Translate

Translate

Report

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

Votes

Translate

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

Copy link to clipboard

Copied

Don't quote and replace the space with %20

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

Thanks again Muppet!!

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

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!

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

try this

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

Votes

Translate

Translate

Report

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