I would like to run a temporary script from a different drawer than the original.
For example a script saved to a location obtained from GetTempFileName(), but changed PROGDIR: to another location.
There is a -nochdir argument for Hollywood which controls it but the opposite way. I think a -chdir <path> argument would be
handy for this problem.
What do you think?
Display (Run) temporary script with chdir
- airsoftsoftwair
- Posts: 5446
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Display (Run) temporary script with chdir
Can't you do something like this?
In that way, you can have any directory you want as the current one and the Hollywood script can be in some arbitrary temporary directory. Or have I misunderstood the problem here?
Code: Select all
cd <desired-active-directory>
Hollywood:System/Hollywood T:tmp.hws -nochdir
Re: Display (Run) temporary script with chdir
I have tried it the same way, but certainly overlooked something because @includes was not worked. Tried again and it works now.
So sorry to bother you with my mistake.
So sorry to bother you with my mistake.