DOS tips and tricks

ZXNet echo conference «zxnet.pc»

From Kirill Frolov To All 19 April 2003

Some people don't know... Q: But here the program displays a lot of things, it doesn’t even fit into the screen. :-( A: program | more A: program | find "what you want" Q: How do I find the file? A: dir /s /b C:*.zip Q: How can you perform the same type of operation on many files? A: for %i in (*.*) do command /c del /y %%i Q: How can I launch another batch file from a batch file? A: command /c file.bat Q: How to run a program in a parallel window in Windows? A: start /? Q: We brought the screw, all the disks got mixed up, everything is buggy. A: subst z: d: in autoexec.bat Q: How can I edit a file in a dosa without my favorite wine commander? A: edit config.sys Q: How can I combine an archive cut into pieces? A: copy /b part1 + part2 + part3 archive.zip Q: How to compare two files? A: fc /b file1 file2 Q: I can’t edit msdos.sys A: attrib/? Q: How to delete a directory with all subdirectories? A: deltree directory_name Q: How to unpack *.cab or filename.ex_? A: extract filename.ext Q: Dos is poor, you can’t edit commands there. A: doskey /? Q: Half of the above commands do not work! A: set PATH=%PATH%; A: It doesn’t work in lamer commanders, you need to “exit”. A: All newly installed programs should be lumped together, A: in the same directory, otherwise you won’t be able to call them by name. -- [ZX]

From Roman Alexandrov To Kirill Frolov 19 April 2003

Hello, Kirill! 19 Apr 03, 02:19, Kirill Frolov wrote to All on the topic "DOS tips and tricks": KF> Some people don’t know... KF> Q: How can I launch another batch file from a batch file? KF> A: command /c file.bat call file.bat Happy connections. Roman.