bill, thanks. good examples. clean.
On Fri, Oct 23, 2015 at 10:20 AM, bill lam wrote:
> W is the unicode version,better to use the ascii version
> since drive letter is always in latin.
>
> > 'len max var'=:'kernel32 GetLogicalDriveStringsA i i *c' cd
> ((#;[)(4*26)#' ')
> ><;._2 len{.var
W is the unicode version,better to use the ascii version
since drive letter is always in latin.
> 'len max var'=:'kernel32 GetLogicalDriveStringsA i i *c' cd ((#;[)(4*26)#'
> ')
><;._2 len{.var
> +---+---+---+---+---+---+---+---+---+---+---+---+
> |C:\|H:\|J:\|Q:\|R:\|S:\|T:\|U:\|V:\|W:\|Y
https://en.wikipedia.org/wiki/Chroot
Thanks,
--
Raul
On Fri, Oct 23, 2015 at 8:32 AM, R.E. Boss wrote:
> "chrooted user" ???
>
>
> R.E. Boss
>
>
>> -Original Message-
>> From: programming-boun...@forums.jsoftware.com [mailto:programming-
>> boun...@forums.jsoftware.com] On Behalf Of
Joe - thanks for the complete, working example.
On Fri, Oct 23, 2015 at 9:12 AM, Joe Bogner wrote:
> Here's a couple ways to do it (tested on j-64):
>
> NB. let J manage the memory
>
> z=: 2000 $ 'x'
>
> 'len max var'=:'kernel32 GetLogicalDriveStringsW x x *s' cd (2000;z)
>
> (len*JCHAR){.var
>
Here's a couple ways to do it (tested on j-64):
NB. let J manage the memory
z=: 2000 $ 'x'
'len max var'=:'kernel32 GetLogicalDriveStringsW x x *s' cd (2000;z)
(len*JCHAR){.var
NB. manually allocate the memory
z2=: mema 2000
'len max var'=:'kernel32 GetLogicalDriveStringsW x x x' cd (2000;z
"chrooted user" ???
R.E. Boss
> -Original Message-
> From: programming-boun...@forums.jsoftware.com [mailto:programming-
> boun...@forums.jsoftware.com] On Behalf Of Raul Miller
> Sent: vrijdag 23 oktober 2015 2:11
> To: Programming forum
> Subject: Re: [Jprogramming] Executing Locked