Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7112 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hi,

Does anyone know of a trick to determine the path of the operating system directory, covering Windows and Mac. For instance, C:Windows (XP) or C:Winnt (W2K) or ??? (Mac).

I can't find anything in Help.

Thanks,

Roger. confused.gif

Posted

Hi, Roger. I can't help you on the Mac side, but in a Win environment, I would do this in four steps:

1. Send Event [File] (the file to choose is a batch file, fileWin:/C:/setForFmp.cmd, which contains one step: set>>C:envVars.txt)

2. Import (import from C:envVars.txt into the field data)

3. Replace Contents (replace the contents of the field named flag with "environmental variable")

4. Find the string "windir=" in the field data

5. You now have the data "windir=C:Winnt", for example, in that field. Do as you wish with it (maybe copy it to a global variable).

6. Find "environmental variable" in flag

7. Delete found records.

See the attachment for an example.

J

RSpisketts.zip

This topic is 7112 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.