Re: [fpc-pascal]building a command string

2003-09-23 Thread DONALD PEDDER
> Exec(GetEnv('COMSPEC'), '/c copy '+ParamStr(1)+' '+ParamStr(1)+'.bak /v'); Now THIS is what I needed to know! Thank you. :-) I originally tried a writeln kind of syntax - '/c copy ',paramstr(1),' ',paramstr(1),'.bak /v' - but that didn't work, hence my other attempts to build the string. I di

Re: [fpc-pascal]XP=extreme pain in the butt

2003-09-23 Thread Alan Mead
--- "A.J. Venter" <[EMAIL PROTECTED]> wrote: [Alan explains that the install crashes on his new XP machine] > Perhaps you should try to run the installer with XP's "windows 98 > compatibility mode" - should find that under the properties sheet > for > the app - there's a '95 mode as well. > > I

Re: [fpc-pascal]building a command string

2003-09-23 Thread Nikolay Nikolov
DONALD PEDDER wrote: Below is the current state of my code. I am getting "invalid TSS" at the point I have noted. I don't even know what a "TSS" is! I guess it's something to do with strings (I haven't used strings much before either - something else lacking in my previous compilers). I searched