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

Home » Public Forums » archive » Create folder below certain file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Create folder below certain file [message #90859 is a reply to message #90849] Tue, 28 April 2015 22:52 Go to previous messageGo to previous message
Kai Heckel is currently offline  Kai Heckel
Messages: 51
Registered: April 2015
Member
Am Dienstag, 28. April 2015 13:58:27 UTC+2 schrieb Kai Heckel:
> Hello everyone!
>
> I am currently working on an IDL project in which I want to find a specified file. Once I set the definition for my "IF"-statement, I want to create a new folder below the file...
>
> So this is basically what it looks like:
>
> IF (substring_month EQ '01') then begin
> FILE_MKDIR, '/January'
> FILE_MOVE, dirname[k], 'January'
> ENDIF
>
>
> This block is part of a "FOR"-loop, which defines "dirname" as the name of a folder.
>
> I'd really appreciate your help!
>
>
> Thanks everyone

Hey!

Thanks Philip!

It would't be a problem to create a folder in the working directory. As I am searching for a specified string of a subfolder in a sub directory of my working directory I would need to specify that path in some way.
So once I have found a fitting string in the subfolder would it be possible to overwrite the working directory with that path? Because then I could easyile create the folder in the desired position.

Cheers Kai
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Resolve_all behaves differently on that command line that in the IDE console
Next Topic: How multiply two arrays in IDL?

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

Current Time: Mon Oct 27 21:23:21 PDT 2025

Total time taken to generate the page: 5.51900 seconds