X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 02 Nov 2007 03:26 PM by  anon
urgent: Change startup file
 1 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
02 Nov 2007 03:26 PM
    Hi there I'm working with IDL 5.6 on Win 2000. I recently changed my startupfile to a pro which has an undefined function, when I run it bevor. Now IDL starts up and immediately compiles and runs my corrupt *.pro - therafter the program hangs. Is there a way to change directories manually, when there is no access to the idlde? thanks a lot for immediate help marc

    Deleted User



    New Member


    Posts:
    New Member


    --
    02 Nov 2007 03:26 PM
    IDL 5.6, Marc; I think it's time to upgrade, don't you?

    Anyhow, I am not sure what scenario you are describing. I particularly do not understand why you would have an undefined function in an IDL_STARTUP batch program. If it is causing a problem, why not remove the call to it from your startup file? ... or why not get rid of a '.pro' version of it, which is corrupt, and replace it with a properly functioning version? I must be misunderstanding your scenario.

    In any case, the command to change directories is 'CD', and you can add that to your startup script (or to your "corrupted .pro", e.g.:

    CD, 'C:\Documents and Settings\mgilgen\idl_source_code'

    Now that I wirte this, I am starting to think that the problem with your "corrupt .pro" is that it is corrupt only because its "relative paths" are breaking since your startup files changed. If this is indeed the problem, see ITT Visual Information Solutions Tech Tip #4102 ("A Smart Way To Help IDL Find Data Files In Your File System")

    James Jones
    ITT Technical Support
    You are not authorized to post a reply.