check also this:
https://stackoverflow.com/a/24396149/388389
Search found 511 matches
- 12 Feb 2020 06:15
- Forum: DOS Batch Forum
- Topic: Mask user input (password) as stars / blank
- Replies: 2
- Views: 6481
- 07 May 2019 02:37
- Forum: DOS Batch Forum
- Topic: command prompt in windows 10
- Replies: 37
- Views: 39941
Re: command prompt in windows 10
Microsoft unveils Windows Terminal, a new command line app for Windows
- 09 Feb 2019 14:21
- Forum: DOS Batch Forum
- Topic: Download and unzip file Batch
- Replies: 34
- Views: 27363
- 28 Nov 2018 13:31
- Forum: DOS Batch Forum
- Topic: CSV.BAT - CSV file manipulation with SQL syntax
- Replies: 33
- Views: 37459
Re: CSV.BAT - CSV file manipulation with SQL syntax
Thanks.
- 27 Nov 2018 13:42
- Forum: DOS Batch Forum
- Topic: CSV.BAT - CSV file manipulation with SQL syntax
- Replies: 33
- Views: 37459
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...
- 23 Nov 2018 04:03
- Forum: DOS Batch Forum
- Topic: CSV.BAT - CSV file manipulation with SQL syntax
- Replies: 33
- Views: 37459
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...
- 09 Nov 2018 07:22
- Forum: DOS Batch Forum
- Topic: Replace node value in multiple xml files
- Replies: 7
- Views: 8114
Re: Replace node value in multiple xml files
Thanks.penpen wrote: ↑08 Nov 2018 10:35You might want to do xslt, see example here:
viewtopic.php?p=32941#p32941
penpen
- 06 Nov 2018 05:03
- Forum: DOS Batch Forum
- Topic: Replace node value in multiple xml files
- Replies: 7
- Views: 8114
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...
- 06 Nov 2018 04:45
- Forum: DOS Batch Forum
- Topic: Replace node value in multiple xml files
- Replies: 7
- Views: 8114
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
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
- 20 Aug 2018 04:48
- Forum: DOS Batch Forum
- Topic: color compatibility with Windows 10 and Windows 7
- Replies: 3
- Views: 3832
- 06 Aug 2018 23:13
- Forum: DOS Batch Forum
- Topic: some undocumented switches for some commands
- Replies: 5
- Views: 7966
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...
- 06 Aug 2018 06:01
- Forum: DOS Batch Forum
- Topic: some undocumented switches for some commands
- Replies: 5
- Views: 7966
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...
- 04 Aug 2018 06:47
- Forum: DOS Batch Forum
- Topic: some undocumented switches for some commands
- Replies: 5
- Views: 7966
Re: some undocumented switches for some commands
more /h will print the help message mode will show the status with any switch starting with /sta -> more /starlord fc has /off and /offline - probably something for offline files.I have no idea what can be used this for. format has /dax switch - probably related to this - https://msdn.microsoft.com/...
- 04 Aug 2018 06:38
- Forum: DOS Batch Forum
- Topic: FOR /F with Line Feed
- Replies: 17
- Views: 13336
Re: FOR /F with Line Feed
there was an easier way to the the LF with set and brackets but I cant find the link. If I'm not wrong it was found by Aacini.
- 02 Aug 2018 14:15
- Forum: DOS Batch Forum
- Topic: Reading a hidden password via a FINDSTR bug
- Replies: 10
- Views: 12014
Re: Reading a hidden password via a FINDSTR bug
You can also update your answer here:
https://stackoverflow.com/a/24792070/388389
https://stackoverflow.com/a/24792070/388389