Search found 485 matches

by npocmaka_
04 Apr 2020 06:30
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 53

Re: does this happen only to me?

Ok.

Thanks for the replies.
by npocmaka_
03 Apr 2020 08:55
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 53

Re: does this happen only to me?

Ok. Happens when i Use "legacy console" from the properties and the command help uses "press any key to continue"
by npocmaka_
03 Apr 2020 06:37
Forum: DOS Batch Forum
Topic: does this happen only to me?
Replies: 4
Views: 53

does this happen only to me?

when I try to print the help message of setlocal in the console it crashes.

windows version - 10.0.18363.752 x64, version of the cmd.exe - 10.0.18362.449

This could be a known issue but I'm seeing it now.
by npocmaka_
07 May 2019 02:37
Forum: DOS Batch Forum
Topic: command prompt in windows 10
Replies: 31
Views: 13836

Re: command prompt in windows 10

Microsoft unveils Windows Terminal, a new command line app for Windows
by npocmaka_
09 Feb 2019 14:21
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 6392

Re: Download and unzip file Batch

Check this and this
by npocmaka_
28 Nov 2018 13:31
Forum: DOS Batch Forum
Topic: CSV.BAT - CSV file manipulation with SQL syntax
Replies: 33
Views: 13727

Re: CSV.BAT - CSV file manipulation with SQL syntax

rojo wrote:
28 Nov 2018 12:59
Squashman wrote:
27 Nov 2018 14:10
npocmaka_ wrote:
27 Nov 2018 13:42
It would be useful if you can use/create a custom schema file in order to handle other data types than string.
I thought Rojo explained how to do that in this thread because I had asked him about it.
I think he did. viewtopic.php?p=43562#p43562
Thanks.
by npocmaka_
27 Nov 2018 13:42
Forum: DOS Batch Forum
Topic: CSV.BAT - CSV file manipulation with SQL syntax
Replies: 33
Views: 13727

Re: CSV.BAT - CSV file manipulation with SQL syntax

why don't you use SQL scripts to create, manage, convert update or delete databases ? Can your SQL program not do that ? Because I had CSVs. This script is not bad for basic CSV processing and the JET Engine is a basically a database engine installed with your windows by default. Though It can be e...
by npocmaka_
23 Nov 2018 04:03
Forum: DOS Batch Forum
Topic: CSV.BAT - CSV file manipulation with SQL syntax
Replies: 33
Views: 13727

Re: CSV.BAT - CSV file manipulation with SQL syntax

A note about this script. If the CSV has more than one dot character in its file the script will fail with "The Microsoft Jet database engine could not find the object .." -> https://stackoverflow.com/questions/10137970/the-microsoft-jet-database-engine-could-not-find-the-object-sheet1 may be a chec...
by npocmaka_
09 Nov 2018 07:22
Forum: DOS Batch Forum
Topic: Replace node value in multiple xml files
Replies: 7
Views: 2376

Re: Replace node value in multiple xml files

penpen wrote:
08 Nov 2018 10:35
You might want to do xslt, see example here:
viewtopic.php?p=32941#p32941

penpen
Thanks.
by npocmaka_
06 Nov 2018 05:03
Forum: DOS Batch Forum
Topic: Replace node value in multiple xml files
Replies: 7
Views: 2376

Re: Replace node value in multiple xml files

here's a .bat script that does the thing you want with a single file (you can call it from another bat that iterates the needed files): @if (@X)==(@Y) @end /* JScript comment @echo off cscript //E:JScript //nologo "%~f0" %* ::pause exit /b %errorlevel% @if (@X)==(@Y) @end JScript comment */ var ARGS...
by npocmaka_
06 Nov 2018 04:45
Forum: DOS Batch Forum
Topic: Replace node value in multiple xml files
Replies: 7
Views: 2376

Re: Replace node value in multiple xml files

We need a general purpose .bat that can handle xml files :!:

Here's how the xmls can be handled with WSH - https://docs.microsoft.com/en-us/previo ... v=msdn.10)
.net is more powerful though
by npocmaka_
06 Aug 2018 23:13
Forum: DOS Batch Forum
Topic: some undocumented switches for some commands
Replies: 5
Views: 3815

Re: some undocumented switches for some commands

Probably is something introduced with windows 8 or windows 10: format /? Formats a disk for use with Windows. FORMAT volume [/FS:file-system] [/V:label] [/Q] [/L[:state]] [/A:size] [/C] [/I:state] [/X] [/P:passes] [/S:state] FORMAT volume [/V:label] [/Q] [/F:size] [/P:passes] FORMAT volume [/V:label...
by npocmaka_
06 Aug 2018 06:01
Forum: DOS Batch Forum
Topic: some undocumented switches for some commands
Replies: 5
Views: 3815

Re: some undocumented switches for some commands

Post it and I'll spin up a sacrificial VM when I get home in 7 hours :D Turned out there's only one - /trnh . I was checking FORMAT switches on the ss64 help page where the /dax switch is not mentioned there but it is explained in the help message .Probably it was included in some of the newer vers...