Search found 885 matches

by ShadowThief
11 Apr 2019 17:59
Forum: DOS Batch Forum
Topic: NEED HELP WITH CHESS TOURNMENT FILES
Replies: 3
Views: 76

Re: NEED HELP WITH CHESS TOURNMENT FILES

I have no idea what I'm looking at here. I recognize the chess notation for the piece movements, but that's it. Take the first game in the report (I think?): [Event "e8400 ltc tour"] [Site "?"] [Date "2016.03.01"] [Round "1.1"] [White "Stockfish 070216 64"] [Black "Stockfish 210216 64"] [Result "1/2...
by ShadowThief
01 Apr 2019 22:51
Forum: DOS Batch Forum
Topic: A bit embarassed
Replies: 1
Views: 71

Re: A bit embarassed

Just because Microsoft recommends PowerShell now doesn't mean that we've learned everything that batch can do. Don't get me wrong; I can't remember the last time I saw an original batch question on Stack Overflow, but I'm constantly seeing revolutionary advancements here. There's plenty of reason to...
by ShadowThief
31 Mar 2019 17:55
Forum: DOS Batch Forum
Topic: Change chrome homepage using batch
Replies: 18
Views: 470

Re: Change chrome homepage using batch

It seems that the contents of the file change based on whether or not Chrome is open, and manually editing the file just ends up corrupting the Chrome settings. Not worth pursuing this line any further, I think.
by ShadowThief
29 Mar 2019 19:16
Forum: DOS Batch Forum
Topic: Change chrome homepage using batch
Replies: 18
Views: 470

Re: Change chrome homepage using batch

I see two "homepage" fields in mine; one in the JSON root and one under protection/macs. The layout looks like this: { "browser":{ "show_home_button":true }, "extensions":{ [AND THEN A BUNCH OF EXTENSION SETTINGS] }, "google":{ "services":{ "account_id":"[21-DIGIT NUMBER]", "last_account_id":"[21-DI...
by ShadowThief
28 Mar 2019 21:25
Forum: DOS Batch Forum
Topic: Change chrome homepage using batch
Replies: 18
Views: 470

Re: Change chrome homepage using batch

Took me about five seconds in Google: the homepage setting is in "%LOCALAPPDATA%\Google\Chrome\User Data\Default\Secure Preferences" and the relevant part of the JSON looks like "homepage":"http://www.google.com/" Also, mine is over 100,000 characters long, so editing it in batch would prove... tric...
by ShadowThief
19 Mar 2019 23:47
Forum: DOS Batch Forum
Topic: Get folder size to continue
Replies: 13
Views: 613

Re: Get folder size to continue

con is a reserved filename. You shouldn't be able to make a folder with that name.
by ShadowThief
17 Mar 2019 11:44
Forum: DOS Batch Forum
Topic: BATCH interactions with opened .exe
Replies: 5
Views: 326

Re: BATCH interactions with opened .exe

Technically yes, since xlsx/xlsm/xls* files are nothing more than an archive of XML files, but the way to do it is super convoluted since you would have to extract the files, update the XML, and repack the files all using pure batch. It can be done, but you really, really, really don't want to do th...
by ShadowThief
28 Feb 2019 20:31
Forum: DOS Batch Forum
Topic: How to eliminate the spaces in a line in a text file
Replies: 9
Views: 439

Re: How to eliminate the spaces in a line in a text file

Aacini wrote:
28 Feb 2019 20:06
  • Lines 4 and 5 in the output example are wrong, because they should include one space at beginning...
lalat06bag wrote:
28 Feb 2019 15:53
If the line started with spaces too and it exceeds the character limit, the spaces should be eliminated.
These don't match
by ShadowThief
13 Feb 2019 18:41
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 1082

Re: Download and unzip file Batch

Chocolatey is only for installing software. Now you just run PHP like you would if you downloaded and installed it manually.
by ShadowThief
12 Feb 2019 17:11
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 1082

Re: Download and unzip file Batch

The errors while installing Chocolatey are from having outdated versions of the .NET framework and powershell, the other errors are apparently from internet connectivity problems that wouldn't be affected by the version of the .NET framework.
by ShadowThief
11 Feb 2019 18:47
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 1082

Re: Download and unzip file Batch

It's a program you install that lets you download software from various repositories, like how apt-get does. It's the closest thing you're gonna get.
by ShadowThief
11 Feb 2019 04:53
Forum: DOS Batch Forum
Topic: Download and unzip file Batch
Replies: 34
Views: 1082

Re: Download and unzip file Batch

I think you're thinking of Chcolatey. apt-get has not been ported to Windows.
by ShadowThief
29 Jan 2019 20:30
Forum: DOS Batch Forum
Topic: Short WAV files-is there no standard player to call from batch?
Replies: 28
Views: 6934

Re: Short WAV files-is there no standard player to call from batch?

You should convert your wav files to mp3 so they will load quicker. when you convert wav to mp3 frequencies that are not audible to most people are cut of which results in a smaller file. So by converting wav to mp3 you loose information, that is why it doesn't make sense to convert an mp3 to wav. ...
by ShadowThief
28 Jan 2019 21:02
Forum: DOS Batch Forum
Topic: could anybody help with dos commands for this task
Replies: 16
Views: 697

Re: could anybody help with dos commands for this task

I think he already has the user name and password and he needs to pass both of those to a login prompt (at least I hope that's what he means; how do you not know your own username and password?). We've definitely covered passing multiple user inputs to a script or program somewhere on here before...
by ShadowThief
26 Jan 2019 22:13
Forum: DOS Batch Forum
Topic: Is there any standard equivalent of a .bashrc script for cmd?
Replies: 10
Views: 476

Re: Is there any standard equivalent of a .bashrc script for cmd?

Couldn't we just include the doskey alias file in a cmd shortcut?