> This sounds way too complicated (for me), but anyways, your efforts
> are nevertheless appreciated.

It's actually really easy to set up and use. :) But I wrote this because I  
needed to solve this problem for myself, so I understand if it doesn't  
sound too attractive to others. Still, it beats manually checking for  
updates if for any reason you cannot connect a FreeDOS machine to the  
Internet.

> What did you compile it with? Did it use any XP-specific APIs? IIRC,
> latest MSVC claims to need XP SP3 or higher, but I don't know of any
> such limitations in, say, MinGW or OpenWatcom.

GETPKGS is written in FreeBASIC and doesn't use any Windows-specific  
features, but it assumes that the directory separator is backslash, and  
possibly that the file system is case insensitive.

GENPKGLS is compiled with OpenWatcom and uses its dos.h library.

> 2). Regarding Wget, actually I don't use a lot of such tools (though
> I've used it sparingly before), but couldn't you just automatically
> grab (via Windows' existing FTP.EXE or maybe something better I'm not
> aware of) the Win32 WGET.EXE if not found in %PATH%?

I didn't consider that. But I'd rather not hardcode any URLs into the EXE,  
and I don't think it's too hard to install it manually. Is there even an  
official FTP site with Windows executables of Wget?

> 3). "Edit GETPKGS.CFG so that the "WGET=" line contains the path and  
> filename
>   of your Wget executable."
>
> Again, wouldn't just checking the %PATH% for it be easier?

Maybe. On my system, PATH is very long already, mostly due to various  
compilers and poorly written programs that insist on being in the PATH.  
Putting the path into the configuration file just seemed a better solution  
to me.

> 4). "The DOSDIR environment variable must be set and it must not end  
> with a
>   backslash. Usually, it will already be set."
>
> I hope your error checking is good.   :-)

I check that DOSDIR exists and that it doesn't end with a backslash, but I  
trust the user to point it to a valid location. I assume that most users  
only set DOSDIR once (or never, if the FreeDOS installer does it for them)  
and then forget about it.

Thanks for your feedback!

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel

Reply via email to