Re: [Freedos-user] Long pathnames in freedos
Hi! 14-Апр-2007 17:52 [EMAIL PROTECTED] (Eric Auer) wrote to [EMAIL PROTECTED]: EA actually your PATH -can- be very long, but the length EA of each line in your autoexec is limited. You could do sth like EA set path=C:\fdos\root\base EA set path=%path%;C:\fdos\root\drv\usb EA set path=%path%;c:\fdos\root\drv\ansi No, you can't. __O\_/_\_/O__ FreeCom version 0.84-pre2 XMS_Swap [Aug 28 2006 00:29:00] C:\set a= C:\set a=%a%; C:\set a=%a%; C:\set a=%a%; Can not set environment variable 'A'. Environment full? _ O/~\ /~\O Same (was) for MS-command.com, which expands variables inside limited string. EA A more efficient way would be to put the binaries in EA fewer directories and/or put batch files there (or EA alias definitions in autoexec) to point to where EA you have your binaries now. Absolutely agreed. Unfortunately, in MS-command.com batch files are so dumb and different from executables, whereas there are no native aliases... :( - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] Long pathnames in freedos
Hello all, Can anyone tell me if it is possible to use a long path name in freedos at all? The reason I'm trying to do this is I'm making a small install of freedos onto a partition of my HD here. I'm trying to put some of the programs, drivers, etc. into their own directories/subdirectories and then using the freedos path command to hook it all together, but my path is too long! Here's what it looks like so far; C:\fdos\root\base C:\fdos\root\drv\usb c:\fdos\root\drv\ansi c:\fdos\root\drv\kybd c:\fdos\root\drv\ansi c:\fdos\root\drv\cdrom c:\fdos\root\drv\memory c:\fdos\root\drv\mouse c:\fdos\root\drv\audio c:\fdos\root\drv\video c:\fdos\root\apps\devel\djgpp c:\fdos\root\apps\devel\lua c:\fdos\root\apps\cmpress c:\fdos\root\apps\cdrw c:\fdos\root\apps\jpeg c:\fdos\root\apps\maths c:\fdos\root\apps\www c:\fdos\root\apps\gem\gemapps\gemsys (normally this is all on 1 line and seperated by ; 's ) . freedos' path can't take this x.x but I was wondering if a dos-based version of BASH could? Unfortunatly I could only find an ancient version of bash for dos, version 2.05 was the newest. Thanks for any help ljones - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Long pathnames in freedos
Hi Lee, actually your PATH -can- be very long, but the length of each line in your autoexec is limited. You could do sth like set path=C:\fdos\root\base set path=%path%;C:\fdos\root\drv\usb set path=%path%;c:\fdos\root\drv\ansi You would also have to tell command.com to reserve lots of space for env vars (E option in config sys SHELL... line). Plus of course the long path will also make searching for binaries very slow. Remember that BASH stores a hashtable of all binary paths found so far (sometimes forcing you to type rehash when you rename executables), while command.com just looks at all directories in the path each time. A more efficient way would be to put the binaries in fewer directories and/or put batch files there (or alias definitions in autoexec) to point to where you have your binaries now. Eric PS: I remastered fdbasecd to make a new 8 MB ISO which now boots even on my PC. If anybody wants a copy, let me know. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Long pathnames in freedos
On 4/14/07, Eric Auer [EMAIL PROTECTED] wrote: Hi Lee, actually your PATH -can- be very long, but the length of each line in your autoexec is limited. You could do sth like set path=C:\fdos\root\base set path=%path%;C:\fdos\root\drv\usb set path=%path%;c:\fdos\root\drv\ansi You would also have to tell command.com to reserve lots of space for env vars (E option in config sys SHELL... line). Plus of course the long path will also make searching for binaries very slow. Remember that BASH stores a hashtable of all binary paths found so far (sometimes forcing you to type rehash when you rename executables), while command.com just looks at all directories in the path each time. A more efficient way would be to put the binaries in fewer directories and/or put batch files there (or alias definitions in autoexec) to point to where you have your binaries now. Eric PS: I remastered fdbasecd to make a new 8 MB ISO which now boots even on my PC. If anybody wants a copy, let me know. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user It almost worked but I got a lot of this message; Commandline longer than 125 characters I looked at some of the options for command.com such as /U and /L (/E worked) but I got an error saying Not implemented yet x.x ljones - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user