Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Hans-Christian Koch
Hey guys! >> Nevermind my answer. This may work directly from prompt but not from >> within my program. I guess I need to do it in command.com. So can you > >recommend any good documentation on how to compile freecom and maybe which source? > > Is this program something you wrote or somebody els

Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Rugxulo
Hi, On Tue, Mar 29, 2016 at 12:14 PM, Hans-Christian Koch wrote: > > Nevermind my answer. This may work directly from prompt but not from within > my program. I guess I need to do it in command.com. So can you recommend any > good documentation on how to compile freecom and maybe which source? I

Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Ralf Quint
On 3/29/2016 9:41 AM, Hans-Christian Koch wrote: Hey Louis! Thanks for your quick answer which helped me alot! Actually I just copied deltree.com to my C: directory and put in my autoexec.bat alias rd=C:\deltree.com /y Now when I do “rd C:\directory\directory2” it deletes the specified dir

Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Hans-Christian Koch
Nevermind my answer. This may work directly from prompt but not from within my program. I guess I need to do it in command.com. So can you recommend any good documentation on how to compile freecom and maybe which source? --

Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Hans-Christian Koch
: Re: [Freedos-user] Catch "rd" order before command.com processing del C:\directory\*.* rd C:\directory Even that will fail, I think, if there are some hidden files/folders. Start with that and you can build it into an alias command in freecom. alias myrd="del %1%\*.*

Re: [Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Louis Santillan
del C:\directory\*.* rd C:\directory Even that will fail, I think, if there are some hidden files/folders. Start with that and you can build it into an alias command in freecom. alias myrd="del %1%\*.* ; rd %1%" I believe that's the right syntax. -L On Tuesday, March 29, 2016, Hans-Christian K

[Freedos-user] Catch "rd" order before command.com processing

2016-03-29 Thread Hans-Christian Koch
Hey all! Once again I am trying to run some old programs under Linux emulation DOSEMU which is making use of FREEDOS. In one of them you have the option to delete directories, it does it like this: del C:\directory\*.rec del C:\directory\*.dat del C:\directory\eti.bin rd C:\directory As