Thanks for the quick answer
Which directory is the current working directory is specified by the options you select at Advanced - Configuration - File Handling - Load
This is fine, but is there any way to change from a script? If I start ultraedit by command line I wish to change the default directory to the Prompt directory. One of the feature I miss most of MultiEdit is the session management. If I start ME from c:\pippo it automatically loads the session (File open, search history ecc...) I had last time I started ME from c:\pippo. This is very powerfull as you don't have to look for project files on the disk.
I have done a script which is called automatically by a batch which can load a project file automatically, but I can't change the UE default directory from my script. My idea is to generate in the local (DOS) directory automatically an empty project file (if not already present) called ue.prj for example, and load it automatically each time I call my batch from a prompt box.
But this can't work unless I am able to know the Prompt local directory from the script.
By now, I have a workaround: I use an external small application which creates the project file if does not exist and I start UE making it open that project file. But this looks very ugly.