Re: [Freedos-user] some questions
2008/05/29 01:53 +0200, Eric Auer Alias in freecom command.com just does string substitution before the command is actually processed, as far as I remember. No better than DOSKEY macros, or Unix aliases, *sigh* - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions
Roberta Jaskólski wrote: 2008/05/29 01:53 +0200, Eric Auer Alias in freecom command.com just does string substitution before the command is actually processed, as far as I remember. No better than DOSKEY macros, or Unix aliases, *sigh* Please change your QUALCOMM Windows Eudora Version 7.1.0.9 to use single for quoting. Thanks! Robert Riebisch -- BTTR Software http://www.bttr-software.de/ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions
Hi! 2008/05/23 18:15 +0200, Mateusz Viste You could also use the ALIAS command, you wouldn't need separate files for all your programs anymore. Is this as good as VMS s use of environmental symbols, better than the Unix-shell alias because the OS also uses it? An alias that worked at the level at which PATH works would be wunderful. Alias in freecom command.com just does string substitution before the command is actually processed, as far as I remember. You can probably ALIAS ls into dir (where dir is inside the shell) and you can probably ALIAS shuffle into sort (where sort is a tool which can be found in the PATH) :-). Examples: alias inf=for %%f in (readm* *.txt *.do? *.diz *.me) do pg %%f alias ssh=ssh2dos -t vt100 -v -n -g alias filemave=c:\tools\fmaven\fm3 alias reboot=fdapm warmboot alias MAKE=echo use tcmake or gnumake please. Make arguments: The file maven alias is useful because the fmaven directory is not in my PATH. So it has remote similarity to a symlink. Eric - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions
I think that in dos, a call by direct reference is a transfer, and there will be no return. You should be able to reference with a call statement, like call newsub, which will result in a return to the calling routine after the called batch file is completed. --- Halász Sándor Viktor [EMAIL PROTECTED] wrote: 2008/05/23 14:20 +0200, Michael Reichenbach 2) When I call from within autoexec.bat to test.bat file then after test.bat is done it won`t jump back to autoexec.bat, also if exit is the last command. It is a weakness of DOS batch files that such code does not return: given A.BAT, B dir and B.BAT, cd .. , the B in A.BAT is enough to start B.BAT, but A is _replaced_, not suspended. To suspend it is needful to use CALL: call B dir . - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions
Hallo, 2) When I call from within autoexec.bat to test.bat file then after test.bat is done it won`t jump back to autoexec.bat, also if exit is the last command. Use the command CALL. f.e. call test.bat Now I have one folder with all my 'shortcuts'. The shortcut is just a batchfile which will call the long name. But how can I pass the command line parameters correctly? if you want to call test.bat param1 param2 which executes a program, use %1, %2, %3... for first, second... parameter. In test.bat for example: test.exe %1 %2 Maybe you should use 4DOS...it supports many many command (has a good script/batch language) and has a very good help. Bye Flo -- Passts auf, seits vuasichtig losst eich nix gfoin! (Kurt Ostbahn) http://www.drdos.org - http://www.flox.at.tf - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions
On Friday 23 May 2008, Michael Reichenbach wrote: 2) When I call from within autoexec.bat to test.bat file then after test.bat is done it won`t jump back to autoexec.bat, also if exit is the last command. Just type at command line help call ;-) 3) How to change the screen resolution? I believe that by screen resolution you mean text mode? If so, you should look after the mode command. For example, mode co80,50 will give you a color console with 80 columns and 50 rows. Now I have one folder with all my 'shortcuts'. The shortcut is just a batchfile which will call the long name. But how can I pass the command line parameters correctly? Say, you want to launch c:\myprog\go.exe... all you have to do is create a batch file containig the following line: @c:\myprog\go.exe %1 %2 %3 %4 %5 %6 %7 %8 %9 You could also use the ALIAS command, you wouldn't need separate files for all your programs anymore. bye, Mateusz Viste -- You'll find my public OpenPGP key at http://mateusz.viste.free.fr/pub_key signature.asc Description: This is a digitally signed message part. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] some questions about freedos with a xt
Hi.. MM - mema just dont output annything.. no error, too.. just a free line and MM then MM back to the prompt. (what can i use to show the free memory) If this is mine MEM, may I send you testing edition, which helps isolate the problem? yes, that would be nice. if u send mails with attachments pls send them to [EMAIL PROTECTED] (thats also my account for works, which i read more often) thanks tassilo --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638opk ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70alloc_id638op=click ___ Freedos-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freedos-user