Search found 555 matches
- 03 Dec 2015 02:32
- Forum: DOS Batch Forum
- Topic: CALL me, or better avoid call
- Replies: 21
- Views: 32950
Re: CALL me, or better avoid call
Perhaps it is slow, as it always creates a new variable context and has to copy all variables. So it creates environment stack (or how can I call it) each time CALL is used. Can we someshow see the size of this memory usage? I think (but still have to make some tests) that this is visibile in nonpa...
- 03 Dec 2015 01:54
- Forum: DOS Batch Forum
- Topic: Write image on file and view.
- Replies: 10
- Views: 7237
Re: Write image on file and view.
I'm still a little unclear - do you want to create an image file and write text on a plain coloured background? Does this need to be done with default tools in the OS? Which version of Windows is it for? This would be great. I have such a program (I am not sure if I have a source - a friend made it...
- 03 Dec 2015 01:40
- Forum: DOS Batch Forum
- Topic: Write image on file and view.
- Replies: 10
- Views: 7237
Re: Write image on file and view.
I think he wants to make a binary file (in his case an image file (PNG, JPG...)) with batch. With the help of this http://www.dostips.com/forum/viewtopic.php?f=3&t=5326#p32108 here is a sample what he might want. I will create a .png from Wiki (m, png image: m) First create a data file (.png dum...
- 27 Nov 2015 13:56
- Forum: DOS Batch Forum
- Topic: Tetris game in a pure Batch file
- Replies: 12
- Views: 117057
Re: Tetris game in a pure Batch file
You are a genius!
Works pretty OK on my old computer - though no graphics here (yet).
Saso
Works pretty OK on my old computer - though no graphics here (yet).
Saso
- 27 Nov 2015 05:55
- Forum: DOS Batch Forum
- Topic: [Solved] Cmd window help
- Replies: 18
- Views: 11410
Re: Cmd window help
I think you need a PAUSE command: @Echo Off Color 1E Echo. Echo INSTRUCTIONS AND WARNINGS Echo ==> Disconnect Internet now Echo ==> Tick Custom Installaion Echo ==> After Installation completes Echo ==> Restart Internet PAUSE Call Setup.Exe Exit Maybe this is what you wanted. Or just a delay? Use PI...
- 24 Nov 2015 11:41
- Forum: DOS Batch Forum
- Topic: winXP bootable ramDisk on CD/DVD/USB/NAS
- Replies: 11
- Views: 7660
Re: winXP bootable ramDisk on CD/DVD/USB/NAS
This is great for system managment. Unfortunatelly I am not in an IT anymore and I don't do any PC repairs or something like that but boot CDs like this are great for such purposes or secure browsing.
I hope you will succeed (though I can't help you).
Saso
I hope you will succeed (though I can't help you).
Saso
- 23 Nov 2015 12:35
- Forum: DOS Batch Forum
- Topic: EXPAND.EXE does not extract files Windows 7 (starter)
- Replies: 9
- Views: 8441
Re: EXPAND.EXE does not extract files Windows 7 (starter)
@aGerman: I did not try Penpen's -i solution (don't know why - maybe because expand -? does not show it (XP). @penpen: I will test both your solutions tomorrow (currently I only have a computer with XP and not with Win7 at hand). (Though I don't understand your second solution (aren't they the same?...
- 23 Nov 2015 02:55
- Forum: DOS Batch Forum
- Topic: EXPAND.EXE does not extract files Windows 7 (starter)
- Replies: 9
- Views: 8441
Re: EXPAND.EXE does not extract files Windows 7 (starter)
Thank you all! I re-created the .cab file with the _chrs_ folder in it and now it works on Win7. The command I used is: expand cabinet_file.cab -F:*.chr . If I use expand cabinet_file.cab -F:*.chr _chrs_ I then have a folder _chrs_ with _chrs_ subfolder. But... If I use the same command on XP it doe...
- 21 Nov 2015 14:53
- Forum: DOS Batch Forum
- Topic: EXPAND.EXE does not extract files Windows 7 (starter)
- Replies: 9
- Views: 8441
EXPAND.EXE does not extract files Windows 7 (starter)
Hi all! I am having probems with this http://www.dostips.com/forum/viewtopic.php?p=39196#p39196 . It runs OK (creates all .chr files) on XP but on Windows 7 Starter it does not work at all. Error message I get is: Expanding File chrsdec.ca_ Incomplete. Error Code=0x800700a1 Error Description: Path n...
- 16 Nov 2015 02:59
- Forum: DOS Batch Forum
- Topic: Redirecting colored output + into logfile
- Replies: 3
- Views: 4449
Re: Redirecting colored output + into logfile
Probably we would need a dump of this logfile - to see if it contains ESCAPE characters.
Print screen too (if possible).
Saso
Print screen too (if possible).
Saso
- 13 Nov 2015 04:20
- Forum: DOS Batch Forum
- Topic: Display matches in color
- Replies: 5
- Views: 3262
Re: Display matches in color
Thank you both. I am getting close.
I will incorporate everything into my programs and do some more tests.
Thanks for the moment.
Saso
I will incorporate everything into my programs and do some more tests.
Thanks for the moment.
Saso
- 12 Nov 2015 09:43
- Forum: DOS Batch Forum
- Topic: Display matches in color
- Replies: 5
- Views: 3262
Re: Display matches in color
I really like yuor solution - short, fast but... mshta does not return to .cmd - it just stays frozen. Any ideas? Also one thing I must solve: example shows two matches: '6' which is correct and part of the number '56' which is not correct. If a character before or after is numeric then this should ...
- 11 Nov 2015 15:32
- Forum: DOS Batch Forum
- Topic: Display matches in color
- Replies: 5
- Views: 3262
Display matches in color
Hi all! Let's have a file with some 'graphic' (ascii art to be exact): _____ 5 6 /ELEV/ 1 ________________/ /_______ / / / / 4/ 1st floor / / / /_______________/____/ ____/ 3 / / 2 56/___/ Desired output (number 6 in this example should be in color - it does not display correctly (at least for me)):...
- 10 Sep 2015 06:13
- Forum: DOS Batch Forum
- Topic: Detecting a true zero byte file and not a file being written
- Replies: 21
- Views: 10219
Re: Detecting a true zero byte file and not a file being wri
This works for me (probably for files with exclusive lock only?):
returns ERRORLEVEL 1 if file is locked, 0 if not locked.
Saso
Code: Select all
move /y a.a a.a >nul 2>nul
returns ERRORLEVEL 1 if file is locked, 0 if not locked.
Saso
- 21 Jul 2015 05:20
- Forum: DOS Batch Forum
- Topic: copy /B safe ?
- Replies: 24
- Views: 16920
Re: copy /B safe ?
OperatorGK wrote: So, you want split 1 file into 2 by offset.
aGermans excelent file dump (viewtopic.php?p=14361#p14361) can be of use here:
1. dump the file
2. read the dump and create necessary files (viewtopic.php?p=32108#p32108)
HTH
Saso