Search found 14 matches
- 2023-Jul-31, 4:32 pm
- Forum: Windows CMD Shell
- Topic: Accessing files from connected MTP devices in batch programs
- Replies: 1
- Views: 3599
Accessing files from connected MTP devices in batch programs
The Windows built-in file explorer program allows to treat USB devices that use the Media Transfer Protocol (like cellphones, music players or digital cameras) in a similar way to normal removable storage devices. But they aren't visible when using the command prompt and therefore I can't normally a...
- 2023-May-15, 1:54 pm
- Forum: General Tech News, Notes and Queries
- Topic: Interesting short code snippets
- Replies: 0
- Views: 36534
Interesting short code snippets
I have a cool piece of C code to share with, you. This function does find the greatest common dividor using the well-known variant of Euclidean algorithm with division. The interesting thing is how it can be written using C while statement, conditional and assignment operators. int gcd (int a, int b...
- 2023-May-15, 1:42 pm
- Forum: Windows CMD Shell
- Topic: Will all versions of Windows ignore a lone caret on the command line?
- Replies: 4
- Views: 4925
Re: Will all versions of Windows ignore a lone caret on the command line?
BTW you can assign a space to variable, using quotes.
Code: Select all
SET "SPACE= "
- 2022-Nov-05, 7:21 am
- Forum: Windows CMD Shell
- Topic: How to fix problems when running scripts as administrator
- Replies: 2
- Views: 1795
How to fix problems when running scripts as administrator
Yesterday I had a problem with an installer script of BB5 Unlocker. Its job was to create proper directory structure under c:\bb5_unlocker , and copy program files shipped next to the installer into that directory. When I ran that installer as administrator, it has created all the required directori...
- 2022-May-03, 5:27 pm
- Forum: General Tech News, Notes and Queries
- Topic: Muting your mic doesn’t stop big tech from recording your audio
- Replies: 2
- Views: 7077
Re: Muting your mic doesn’t stop big tech from recording your audio
If I disable the built-in laptop camera in BIOS Setup (I have such option), is it a safe solution?
- 2021-Oct-12, 5:18 pm
- Forum: Windows CMD Shell
- Topic: Output the results of two commands in parallel
- Replies: 1
- Views: 3349
Re: Output the results of two commands in parallel
Can you include an explanation? This long single-line FOR loop in Parallel.bat is hard to read.
- 2021-Oct-09, 1:56 pm
- Forum: Windows CMD Shell
- Topic: Bouncing balls animation
- Replies: 1
- Views: 3958
Bouncing balls animation
I want to show you my CMD script that animates four balls bouncing by window borders using BG sprites. Example screenshot: https://files.catbox.moe/jtv3us.png You can hide the metadata or show it again by pressing any key, Esc terminates the script. Code: @echo off title Animated balls using sprites...
- 2021-Sep-29, 3:05 pm
- Forum: Windows CMD Shell
- Topic: How did copying and renaming with wildcards work in MS-DOS?
- Replies: 1
- Views: 3726
Re: How did copying and renaming with wildcards work in MS-DOS?
Thanks. Reading that article was very helpful for me.
- 2021-Sep-27, 4:51 pm
- Forum: Meta: Site Feedback / Forum Q&A
- Topic: New category for XVIscript
- Replies: 1
- Views: 7899
New category for XVIscript
I have a suggestion to create a new category on SS64 and SS64 Forum that will be about XVIscript, a scripting language used in the XVI32 hex editor. Because it does not have got too many commands and there is a help file included with the hex editor, adding the XVIscript cateogory will not be a big ...
- 2021-Sep-27, 4:39 pm
- Forum: Meta: Site Feedback / Forum Q&A
- Topic: SS64 / EMW3 Dark Theme Stylesheet
- Replies: 3
- Views: 10868
Re: SS64 / EMW3 Dark Theme Stylesheet
Good, but I see that you are using CSS3 that may result in very ugly look under older browsers. I suggest trying to convert it into CSS2.