Page 2 of 2

Re: Catcheck &Catcomp

PostPosted: Sat Jan 18, 2014 8:56 pm
by JosDuchIt
I solved the problem in Gui4Cli, though not in arexx

Re: Catcheck &Catcomp

PostPosted: Sat Jan 18, 2014 11:48 pm
by nbache
@JoshDuchIt:

You really shouldn't use ENV: as a temp directory, that's what T: is for.

Also, why use a filename starting with a "."? In Unix/Linux, this is a hidden file, and some ported software or components may still carry that idea over. I'm not sure if it affects any of what you are trying, but why not eliminate any possibilities?

E.g. "notepad T:usb.log" works fine for me.

Best regards,

Niels

Re: Catcheck &Catcomp

PostPosted: Sun Jan 19, 2014 10:10 am
by JosDuchIt
@nbache,,
thanks for hints
Now why do i use env: and the dot in file names?
This is because i normally program in Gui4Cli not in arexx. It's only if i can't solve the problem in gui4Cli that i try to do it with arexx and present it in this form to forums for help

Under Gui4Cli variables starting with a dot
.Myvar are in fact environmental variables and their values can be accessed using $.Myvar
When using a CLI command that returns some value a Gui4CLi script will use
CLI ' CliCommand > env:.Myvar arguments' // and continue
IF $.Myvar = someresult // or similar.
...
This is really handy

Re: Catcheck &Catcomp

PostPosted: Mon Jan 20, 2014 12:14 am
by nbache
Okay, understood.

So basically, you want to start Notepad on an environment variable starting with a dot?

This also works here, see the screen dump below.

Best regards,

Niels

EnvDotTest.jpg
EnvDotTest.jpg (24.38 KiB) Viewed 5692 times