comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: file_mkdir error
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: file_mkdir error [message #72480] Wed, 08 September 2010 02:18
sirvival is currently offline  sirvival
Messages: 18
Registered: August 2010
Junior Member
On Sep 7, 5:34 pm, sirvival <fpfei...@hs.uni-hamburg.de> wrote:
> Hi,
> first I tried with the spawn command to create a directory but
> file_mkdir seems to be the easy way.
>
> But:
> when I use it inside a terminal it works fine.
> The folder gets created and I can cd, ' foldername' to it.
> When I use it inside my pro it seem to create the folder but I can not
> access it with cd,'foldername'.
> Neither with terminal (no such file ...).
> Ls shows the folder.
> I can access it with Dolphin.
>
> commands:
>
> e.g. terminal:
>
>       file_mkdir,'test',/NOEXPAND_PATH
>
> works fine
>
> e.g. pro:
>       file_mkdir,resultpath,/NOEXPAND_PATH
>
> only seems to work
>
> Is this a problem with resultpath?
> help,resultpath
> RESULTPATH      STRING    = ' 0.350'
>
> Thanks

Found the error. As you can see the String still has a space in front.
If I include it in the terminal or in idl I can access the directory.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL 8.0 Graphics web seminar
Next Topic: idl vm- widget_base - bitmap keyword

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:14:06 PDT 2025

Total time taken to generate the page: 0.16045 seconds