Blog

Page 18 of my articles, tutorials, and thoughts

Latest Articles

Cover Image for How to do something to each file in a directory with a batch script
batch-filefileloopswindows

How to do something to each file in a directory with a batch script

Published on September 2, 2023

# šŸ“‚ How to Loop Through Files in a Directory using a Batch Script So, you're tinkering with batch scripting, huh? And you want to iterate through all the files in a directory using a batch script? No worries, I got your back! In this guide, I'll show you

Cover Image for What does %~d0 mean in a Windows batch file?
batch-filewindows

What does %~d0 mean in a Windows batch file?

Published on September 2, 2023

# What does `%~d0` mean in a Windows batch file? šŸ¤”šŸ’» If you've ever come across a Windows batch file, you might have encountered mysterious symbols like `%~d0` or `%~p0`. These symbols are called parameter expansion modifiers and they allow you to manipu

Cover Image for How to get the path of the batch script in Windows?
batch-filewindows

How to get the path of the batch script in Windows?

Published on September 2, 2023

šŸ“ **Tech Blog Post: How to Get the Path of the Batch Script in Windows?** šŸ‘‹ Hey there, fellow tech enthusiasts! šŸ‘©ā€šŸ’»šŸ‘Øā€šŸ’» Are you looking to retrieve the path of a batch script in Windows? šŸ¤” Well, look no further! In this blog post, I'll walk you thr

Cover Image for How to get a path to the desktop for current user in C#?
c#directoryfilesystemswindows

How to get a path to the desktop for current user in C#?

Published on September 2, 2023

# How to Get a Path to the Desktop for Current User in C# šŸ“šŸ’»šŸ” Looking for a way to get the path to the desktop for the current user in C#? You're in luck! In this post, we'll explore a common question and provide easy solutions to help you accomplish t

Cover Image for How can I open a cmd window in a specific location?
windows

How can I open a cmd window in a specific location?

Published on September 2, 2023

## How to Open a CMD Window in a Specific Location šŸ“‚ So, you want to open a Command Prompt (CMD) window in a specific location without going through the hassle of navigating there manually? No worries, I've got you covered! šŸ‘ ### The Problem: Navigatin

Cover Image for How to convert DOS/Windows newline (CRLF) to Unix newline (LF)
newlinewindows

How to convert DOS/Windows newline (CRLF) to Unix newline (LF)

Published on September 2, 2023

### How to Convert DOS/Windows Newline (CRLF) to Unix Newline (LF) like a Pro! šŸ–„šŸ”€šŸ¤“ So, you're facing the common problem of needing to convert DOS/Windows newlines to Unix newlines, but you don't have access to the handy `dos2unix` or `unix2dos` command

Cover Image for Iterate all files in a directory using a "for" loop
batch-filefor-loopwindows

Iterate all files in a directory using a "for" loop

Published on September 2, 2023

## How to Iterate All Files in a Directory Using a 'for' Loop šŸ”„šŸ“‚ So, you want to dive into the depths of a directory and loop through all its files, huh? šŸ¤” Don't worry, my tech-savvy friend, I've got your back! In this blog post, we'll explore how to e

Cover Image for The difference between the "Local System" account and the "Network Service" account?
securitywindows

The difference between the "Local System" account and the "Network Service" account?

Published on September 2, 2023

## 🌐 Understanding the 'Local System' and 'Network Service' Accounts šŸ¤”šŸ”’ When it comes to Windows services, understanding the difference between the 'Local System' account and the 'Network Service' account can be a bit perplexing. šŸ¤·ā€ā™‚ļøšŸ” ### šŸš€ The '

Cover Image for Run cURL commands from Windows console
command-linewindows

Run cURL commands from Windows console

Published on September 2, 2023

🌟 **Run cURL commands from Windows console: A Complete Guide** 🌟 So, you want to run cURL commands from your Windows console? No worries, we've got you covered! šŸš€ šŸ’» **Installing cURL on Windows** Before we dive into the exciting world of running cUR

Blog | Matheus Mello