Getting the working path inside a SKILL script

  • Thread starter Mohamed Abdel Baset
  • Start date
M

Mohamed Abdel Baset

Guest
Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed
 
Mohamed Abdel Baset wrote, on 06/01/10 17:23:
Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed
Hi Mohamed,

getWorkingDir()

Regards,

Andrew.
 
On Jun 1, 10:17 pm, Andrew Beckett <andr...@DcEaLdEeTnEcTe.HcIoSm>
wrote:
Mohamed Abdel Baset wrote, on 06/01/10 17:23:

Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Hi Mohamed,

getWorkingDir()

Regards,

Andrew.
You can also try

pwd

Regards,
Lokesh
 
lokesh wrote, on 06/14/10 12:07:
On Jun 1, 10:17 pm, Andrew Beckett<andr...@DcEaLdEeTnEcTe.HcIoSm
wrote:
Mohamed Abdel Baset wrote, on 06/01/10 17:23:

Hi all,

I am asking if there is a SKILL command that can return the current
working path.
Your help is appreciated...

Thank you,
Mohamed

Hi Mohamed,

getWorkingDir()

Regards,

Andrew.

You can also try

pwd

Regards,
Lokesh
Although strictly speaking, pwd() is private (it actually comes from the ADE
implementation, rather than beign core SKILL).

So I wouldn't use it in code. It was intended to be a quick handy command for
the CIW, rather than a function for use in code.

For example, it's not legal in a pcell (because it requires ADE to be present in
the executable evaluating the pcell).

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top