Re: [Freedos-user] New Version of DOSUTILS
I'm not quite sure whether i got your point correctly, but have you had a look at FNTOOL? It's kind of a superset of tools like dirname and basename. E.g. FNTOOL /B C:\TEST\REMASTER\DOS would return just DOS. And, as often, there is more than one way to get a job done. An alternative could be like this: cd | tr '\\' '/' | pipeset /C: = unix-path. All three utilities: FNTOOL, TR and PIPESET are part of the DOSUTILS package. Looks like you're right, FNTOOL /B %_CWD% works like a charm. Another issue solved after all then despite flaky testing on my side a while ago. Have you also tried the other alternative? It should do the job in a single line. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] New Version of DOSUTILS
I also noted NTOOLS in a seperate package. As it happens, I know the guy who wrote netcat on which it's modelled. This is very nice to have for DOS. Actually there is more than one implementation of netcat for DOS. Michael Brutmans mtcp package also comes with an nc clone for DOS. His version has less features though. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] Freedos-user Digest, Vol 731, Issue 1
Thanks for the update. I remember one of your tools being able to show the directory path, but not in separate pieces ( I wanted to convert path to Linux-style to satisfy Syslinux.cfg requirements for the Syslinux installer). Preferably just the directory name, without any - filename - directory/directories above it - slashes/backslashes - colon - driveletter so C:\TEST\REMASTER\DOS\ would return DOS if executed from that directory. If going one dir up, it would return the string REMASTER (etc..). End result is something alike: @echo off set /E output=tool.exe /basename set string=%output% cd.. set /E output=tool.exe /basename set string=%output%/%string% set string=/%string% echo Unix-path for %_CWD% is %string% (without driveletter) I'm not quite sure whether i got your point correctly, but have you had a look at FNTOOL? It's kind of a superset of tools like dirname and basename. E.g. FNTOOL /B C:\TEST\REMASTER\DOS would return just DOS. And, as often, there is more than one way to get a job done. An alternative could be like this: cd | tr '\\' '/' | pipeset /C: = unix-path. All three utilities: FNTOOL, TR and PIPESET are part of the DOSUTILS package. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
[Freedos-user] New Version of DOSUTILS
I just want to inform the few braves who still use (or even work with) any flavor of DOS, that i just released a new version of my DOSUTILS package. I added a new utility to the package and two others were improved. The new utility INLINE allows to place multi-line data, that is to be fed as input into another program via stdin, directly within the batchfile from which the program is invoked. Users who are familiar with shell programming under UNIX, might recognize a certain similarity with so called 'here documents' serving the same purpose though they are implemented differently. Please feel free to explore the various (in total seventeen) utilities in the package, which can be downloaded from here: http://www.bttr-software.de/products/jhoffmann/, to see whether some of them might possibly be useful. Further details are given in the two instructon files dosutils.txt and form.txt which are also part of the package. -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user
Re: [Freedos-user] FreeDOS on Software Freedom Day 2012
Saluton Ivan, Saluton Rughulo, kaj eble ech aliaj? Mi ne konsciis, ke estas tiom da esperanto-parolantoj kiuj ankorau okupighas pri la DOS operacisistemo :-) -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Freedos-user mailing list Freedos-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-user