Search found 178 matches

by atfon
02 Aug 2021 11:19
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Re: Enabling Special Characters in Windows 10

I was combining the German word "Das" with the English word "Tips" in that the letters are very similar to the domain name of this site. Not that funny, I know. :)
I agree with you about this forum being far more about command line and batch scripting than the old Disk Operating System.
by atfon
02 Aug 2021 07:06
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Re: Enabling Special Characters in Windows 10

Hi Steffen, That looks really interesting. I will work with the tool you created. Thanks for posting that. I know a number of us have been looking for a solution for doing this for a long time. On a lighter note, did you ever consider DasTips for your handle? Would DosItHelp be jealous of the pun? :...
by atfon
02 Aug 2021 06:58
Forum: DOS Batch Forum
Topic: Is partition GPT or MBR?
Replies: 5
Views: 5008

Re: Is partition GPT or MBR?

If you don't mind a powershell solution, you could utilize something like this: %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe /command "get-disk | where BootFromDisk -eq "True" | select PartitionStyle" On my system, I can also capture some information about GPT from wmic: wmic partition wh...
by atfon
30 Jul 2021 08:49
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Re: Enabling Special Characters in Windows 10

In terms of setting fonts, the most consistent way I've found to do it is to create a shortcut to the script and set the font in the shortcut.
True, but it would be handy to be able to swap on the fly as the script is running.
by atfon
30 Jul 2021 08:09
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Re: Enabling Special Characters in Windows 10

If you're like me and wondered why some of the characters weren't appearing, make sure the font you're using supports them all. I had to switch from Cascadia Mono to Consolas to get the ▒ to appear. That's a good point. I was already set to Consolas and had no issues. I don't know if this is possib...
by atfon
29 Jul 2021 06:39
Forum: DOS Batch Forum
Topic: How to launch windows program in DOS at OS selection screen?
Replies: 1
Views: 1876

Re: How to launch windows program in DOS at OS selection screen?

I'm a little unclear at your goal here, even after viewing the video. The OS Selection menu is meant to show which operating systems you have available in a multi-boot system. Are you trying to launch another operating system or have an application start with your current operating system?
by atfon
28 Jul 2021 12:39
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Re: Enabling Special Characters in Windows 10

Thanks, ShadowThief. I'm interested specifically in the Terminal here. I haven't had any issues using [`], [a] as well as the ones you mentioned. It'll be interesting to see where all this goes in the next major update to Windows 10 (Windows 11).
by atfon
28 Jul 2021 11:40
Forum: DOS Batch Forum
Topic: Enabling Special Characters in Windows 10
Replies: 18
Views: 12461

Enabling Special Characters in Windows 10

This one might be a quick no, given the limitations I'm including. :wink: I had a question about the display of special characters in Windows 10. I've seen from JEB, T3RRY and others how to set a variable to initialize Console Virtual Terminal Sequences in Windows 10 with something like this: for /F...
by atfon
27 Jul 2021 07:50
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

Well, a combination of factors really. A work computer with %onedrivecommercial% synchronized with some SharePoint locations and I'm a bit of a file hoarder. :wink:
by atfon
26 Jul 2021 13:54
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

I agree, but it was taking several minutes. For comparison, I modified your script slightly to the following: robocopy "%programfiles%\ " "%tmp%\ " "wordpad.exe" /xd "C:\Windows" /l /s /mt:%%n /xx /r:1 /w:1 /njh /njs /fp /ndl /ns /nc /np I received these results. Not too surprising since it is just ...
by atfon
26 Jul 2021 13:38
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

Maybe! :D I tried this bare command: robocopy "C:\." " nul" "wordpad.exe" /xd "C:\Windows" /l /s /xx /r:1 /w:1 /njh /njs /fp /ndl /ns /nc /np /mt:8 It seems to just sit there after locating the same two files your system found: C:\Program Files\Windows NT\Accessories\wordpad.exe C:\Program Files (x8...
by atfon
26 Jul 2021 13:24
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

Oddly, on my system this script stalls after displaying the following:

Code: Select all

/mt:64
15:20:59.78
It never gets around to displaying the location of wordpad.exe, although it is found with this command:

Code: Select all

dir "\wordpad.exe" /s /b
by atfon
26 Jul 2021 11:40
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

Could be! Good point about caching @aGerman. I ran a few tests with /MT:32 before /MT:8 for just the robocopy portion of the script and the results weren't all that conclusive: Test 1 /MT:32 - 0.39 seconds /MT:8 - 0.69 seconds Test 2 /MT:32 - 0.81 seconds /MT:8 - 0.68 seconds Test 3 /MT:32 - 0.77 se...
by atfon
26 Jul 2021 10:48
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

I had a chance to do some testing with a nested loop to generate a text file with paths of the executable files as @aGerman suggested. This resulted in some improved performance. To generate the list took 0.70 seconds. To run the complete script took 2.90 seconds.
by atfon
26 Jul 2021 06:16
Forum: DOS Batch Forum
Topic: Fastest Recursive Searching
Replies: 15
Views: 7401

Re: Fastest Recursive Searching

Hello Steffen (@aGerman), Thank you for the feedback. I agree that you do use more resources with the /MT option, but it does seem to provide a small performance boost as long as your are judicious with it. I have kept it to 4X%NUMBER_OF_PROCESSORS%. In my case that equates to /MT:32. I tested it a ...