# Batch file

A batch file is a Windows command-shell script used to automate tasks; batch program filenames use .bat or .cmd extensions.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer

DevFeed: [Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer](<https://devfeed.tech/articles/puzzling-out-why-a-program-doesn-t-work-when-run-from-a-batch-file-but-works-when-double-clicked-from-explorer-101282.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20261026-00/?p=112797/>)

Author: Raymond Chen

Published: 2026-10-26T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [directory](<https://devfeed.tech/tags/directory.md>), [environment](<https://devfeed.tech/tags/environment.md>), [error](<https://devfeed.tech/tags/error.md>), [explorer](<https://devfeed.tech/tags/explorer.md>), [files](<https://devfeed.tech/tags/files.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [other](<https://devfeed.tech/tags/other.md>), [program](<https://devfeed.tech/tags/program.md>)

### AI overview

Explorer sets a launched program's current directory to the folder containing the double-clicked file or executable. A batch file that launches the program by full path may leave the current directory elsewhere, breaking programs that look for ancillary files there. The customer fixed the issue by using `pushd` to switch to the program's directory and `popd` to restore the original directory. As a secondary possibility, the post suggests checking whether the program has an `App Paths` entry that adds directories to `PATH` at launch; this was not needed in the reported case.

### Source excerpt

Mimicking the operation more accurately. The post Puzzling out why a program doesn't work when run from a batch file, but works when double-clicked from Explorer appeared first on The Old New Thing.

## Debloat Windows 10 and Windows 11 in just two steps

DevFeed: [Debloat Windows 10 and Windows 11 in just two steps](<https://devfeed.tech/articles/debloat-windows-10-and-windows-11-in-just-two-steps-85395.md>)

Original publisher: [Read original article](<https://blog.adafruit.com/2026/10/12/debloat-windows-10-and-windows-11-in-just-two-steps/>)

Author: Anne Barela

Published: 2026-10-12T20:29:28Z

Content type: article

Language: en

Sources: [Adafruit Industries](<https://devfeed.tech/sources/adafruit-industries-makers-hackers-artists-designers-and-engineers.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [blue-green deployment](<https://devfeed.tech/topics/blue-green-deployment.md>)

Tags: [c-plus-plus](<https://devfeed.tech/tags/c-plus-plus.md>), [desktops](<https://devfeed.tech/tags/desktops.md>), [directx](<https://devfeed.tech/tags/directx.md>), [gadgets](<https://devfeed.tech/tags/gadgets.md>), [github](<https://devfeed.tech/tags/github.md>), [laptops](<https://devfeed.tech/tags/laptops.md>), [microsoft-edge](<https://devfeed.tech/tags/microsoft-edge.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [operating-system](<https://devfeed.tech/tags/operating-system.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [script](<https://devfeed.tech/tags/script.md>), [software](<https://devfeed.tech/tags/software.md>), [windows](<https://devfeed.tech/tags/windows.md>), [windows-10](<https://devfeed.tech/tags/windows-10.md>), [windows-11](<https://devfeed.tech/tags/windows-11.md>)

### AI overview

WinSux is an open-source PowerShell script that removes preinstalled software from Windows 10 and 11, including Microsoft Edge, and installs components such as DirectX and Visual C++ redistributables. It runs in two stages with a reboot between them, requires administrative privileges and permission to run scripts, and includes tools to reverse changes or restore the machine to a factory state.

### Source excerpt

Julian Horsey at Geeky Gadgets covers WinSux, a one-click PowerShell script from FR33THY that strips unwanted software out of Windows 10 and Windows 11. It removes preinstalled apps, including Microsoft Edge, and installs components like DirectX and the Visual C++ redistributables. It works on desktops, laptops and handhelds, and supports both local and Microsoft accounts. [...]

## pnpm 12.8

DevFeed: [pnpm 12.8](<https://devfeed.tech/articles/pnpm-12-8-62764.md>)

Original publisher: [Read original article](<https://pnpm.io/blog/releases/12.8>)

Author: Zoltan Kochan

Published: 2026-09-28T00:00:00Z

Content type: release

Language: en

Sources: [pnpm](<https://devfeed.tech/sources/pnpm-blog.md>)

Topics: [Homebrew](<https://devfeed.tech/topics/homebrew.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [.env](<https://devfeed.tech/topics/dotenv.md>), [Linux](<https://devfeed.tech/topics/linux.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [concurrent](<https://devfeed.tech/tags/concurrent.md>), [dependencies](<https://devfeed.tech/tags/dependencies.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [pnpm](<https://devfeed.tech/tags/pnpm.md>), [release](<https://devfeed.tech/tags/release.md>), [shell](<https://devfeed.tech/tags/shell.md>), [terminal](<https://devfeed.tech/tags/terminal.md>), [windows](<https://devfeed.tech/tags/windows.md>), [windows-terminal](<https://devfeed.tech/tags/windows-terminal.md>)

### AI overview

pnpm 12.8 adds warnings for package files not listed in the package files field, runs eligible workspace installs concurrently, honors all command-line configuration settings, and fixes a Windows terminal hang after interrupting a script with Ctrl+C. The release also includes bug fixes.

### Source excerpt

pnpm 12.8 warns when pnpm pack or pnpm publish would ship a .env file, installs sharedWorkspaceLockfile: false workspaces concurrently, applies every setting passed as --config.=, and no longer leaves the Windows terminal stuck after Ctrl+C in a script. This release also carries a...

## A sample use of the winstart.bat file in Windows 95

DevFeed: [A sample use of the winstart.bat file in Windows 95](<https://devfeed.tech/articles/a-sample-use-of-the-winstart-bat-file-in-windows-95-21758.md>)

Original publisher: [Read original article](<https://devblogs.microsoft.com/oldnewthing/20260908-00/?p=112679>)

Author: Raymond Chen

Published: 2026-09-08T14:00:00Z

Content type: article

Language: en

Sources: [Raymond Chen](<https://devfeed.tech/sources/raymond-chen.md>)

Topics: [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [display](<https://devfeed.tech/tags/display.md>), [driver](<https://devfeed.tech/tags/driver.md>), [drivers](<https://devfeed.tech/tags/drivers.md>), [graphics](<https://devfeed.tech/tags/graphics.md>), [history](<https://devfeed.tech/tags/history.md>), [multitasking](<https://devfeed.tech/tags/multitasking.md>), [old-new-thing](<https://devfeed.tech/tags/old-new-thing.md>), [post](<https://devfeed.tech/tags/post.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

The article explains a sample use of winstart.bat in Windows 95: starting the TIGA Communications Driver so 16-bit Windows can use high-resolution graphics modes. It notes that MS-DOS programs could not use TIGA modes and that multitasking TIGA graphics across Windows and MS-DOS sessions was unsupported.

### Source excerpt

For a driver that needs high resolution mode only in Windows. The post A sample use of the <CODE>winstart.bat</CODE> file in Windows 95 appeared first on The Old New Thing.

## Behind the console: An AiTM phishing kit harvesting AWS console credentials and beyond

DevFeed: [Behind the console: An AiTM phishing kit harvesting AWS console credentials and beyond](<https://devfeed.tech/articles/behind-the-console-an-aitm-phishing-kit-harvesting-aws-console-credentials-and-beyond-8279.md>)

Original publisher: [Read original article](<https://securitylabs.datadoghq.com/articles/behind-the-console-aws-aitm-phishing-kit-and-beyond/>)

Author: Datadog

Published: 2026-06-24T00:00:00Z

Content type: article

Language: en

Sources: [Datadog Security Labs](<https://devfeed.tech/sources/datadog-security-labs.md>)

Topics: [Adversary-in-the-middle (AiTM)](<https://devfeed.tech/topics/adversary-in-the-middle-aitm.md>), [Amazon Web Services](<https://devfeed.tech/topics/aws.md>), [Security](<https://devfeed.tech/topics/security.md>), [MFA](<https://devfeed.tech/topics/mfa.md>), [Cloudflare](<https://devfeed.tech/topics/cloudflare.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>), [VirusTotal](<https://devfeed.tech/topics/virustotal.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [cURL](<https://devfeed.tech/topics/curl.md>), [Amazon Route 53](<https://devfeed.tech/topics/amazon-route-53.md>)

Tags: [adversary-in-the-middle-aitm](<https://devfeed.tech/tags/adversary-in-the-middle-aitm.md>), [aws](<https://devfeed.tech/tags/aws.md>), [batch](<https://devfeed.tech/tags/batch.md>), [cloudflare](<https://devfeed.tech/tags/cloudflare.md>), [dns](<https://devfeed.tech/tags/dns.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [mfa](<https://devfeed.tech/tags/mfa.md>), [security](<https://devfeed.tech/tags/security.md>), [virustotal](<https://devfeed.tech/tags/virustotal.md>)

### AI overview

Datadog Security Research analyzes a June 2026 campaign using cloned AWS console login pages and adversary-in-the-middle techniques to harvest credentials and MFA codes. The article details the phishing infrastructure, delivery methods, VirusTotal artifact, and JavaScript-based credential-harvesting flow.

### Source excerpt

Datadog Security Research investigates a June 2026 adversary-in-the-middle phishing campaign that cloned the AWS console login page to harvest victim credentials and multi-factor authentication codes.

## Lost in relocation: analysis of a new loader distributing CASTLESTEALER

DevFeed: [Lost in relocation: analysis of a new loader distributing CASTLESTEALER](<https://devfeed.tech/articles/lost-in-relocation-analysis-of-a-new-loader-distributing-castlestealer-49092.md>)

Original publisher: [Read original article](<https://www.elastic.co/security-labs/threat-command/oxloader-malware-loader-infostealer>)

Author: Daniel Stepanic,Jia Yu Chan

Published: 2026-06-19T00:00:00Z

Content type: article

Language: en

Sources: [Elastic Security Labs](<https://devfeed.tech/sources/elastic-security-labs.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [obfuscation](<https://devfeed.tech/topics/obfuscation.md>), [Security](<https://devfeed.tech/topics/security.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [2026](<https://devfeed.tech/tags/2026.md>), [ads](<https://devfeed.tech/tags/ads.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [batch](<https://devfeed.tech/tags/batch.md>), [detection](<https://devfeed.tech/tags/detection.md>), [google](<https://devfeed.tech/tags/google.md>), [language](<https://devfeed.tech/tags/language.md>), [loader](<https://devfeed.tech/tags/loader.md>), [malware](<https://devfeed.tech/tags/malware.md>), [malware-analysis](<https://devfeed.tech/tags/malware-analysis.md>), [obfuscation](<https://devfeed.tech/tags/obfuscation.md>), [payload](<https://devfeed.tech/tags/payload.md>), [script](<https://devfeed.tech/tags/script.md>), [security](<https://devfeed.tech/tags/security.md>), [static](<https://devfeed.tech/tags/static.md>), [vm](<https://devfeed.tech/tags/vm.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Elastic Security Labs analyzes OXLOADER, a previously undocumented Windows malware loader that delivers the CASTLESTEALER infostealer through malicious Google Ads. The loader uses relocation-section abuse, anti-virtualization and language checks, and multiple obfuscation techniques to evade static analysis and sandbox detection.

### Source excerpt

Find out how a new obfuscated loader evades static detection using .reloc section abuse, five anti-VM/language checks and MBA obfuscation to deliver infostealer malware via Google Ads.

## The (Petty) Reason We Didn't End Up Using jj

DevFeed: [The (Petty) Reason We Didn't End Up Using jj](<https://devfeed.tech/articles/the-petty-reason-we-didn-t-end-up-using-jj-24697.md>)

Original publisher: [Read original article](<https://blog.gradle.org/the-petty-reason-we-didnt-end-up-using-jj-at-gradle>)

Author: Laura Kassovic

Published: 2026-06-02T04:00:00Z

Content type: article

Language: en

Sources: [Gradle](<https://devfeed.tech/sources/the-gradle-blog.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Gradle](<https://devfeed.tech/topics/gradle.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [git](<https://devfeed.tech/tags/git.md>), [gradle](<https://devfeed.tech/tags/gradle.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [version-control](<https://devfeed.tech/tags/version-control.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

The article explains why Gradle did not adopt Jujutsu (jj) as a replacement for Git in a developer's workflow. The blocker is Jujutsu's lack of support for the per-file line-ending rules in .gitattributes, which causes persistent phantom modifications to gradlew.bat in Gradle repositories.

### Source excerpt

Jujutsu (jj) has been picking up steam as a Git-compatible version control system. When used with its Git backend, jj stores commits and files in Git and works with existing Git repositories, but it does away with the staging area so your working copy is represented as a real commit that updates as you go. Rewriting history is cheap and safe: edit or reorder a commit and jj rebases its descendants for you; conflicts can be recorded instead of halting the operation; and operations can be undone from the operation log. Recently, one of our engineers set out to replace git with jj in their day-to-day flow. Unfortunately, it didn't work out. Not because of anything fundamental about jj's model, but because of a small detail of how Gradle projects are shaped on disk. This is worth writing down, because we suspect a lot of teams in the JVM ecosystem will hit the same wall. The actual blocker: gradlew.bat and .gitattributes A typical Gradle repository ships the Gradle Wrapper, which usually includes gradlew.bat. That script uses labels and goto, which cmd.exe can mishandle when a batch file has LF-only line endings, so gradlew.bat has to be checked out with CRLF to run reliably on Windows. We enforce this with .gitattributes, a file that tells Git how to handle specific files or paths, controlling things like line-ending normalization and whether files are treated as binary or text: *.bat text eol=crlf This is standard Git behavior: the file is stored normalized in the index, and the eol=crlf attribute tells Git to materialize CRLF in the working copy on checkout. Edits are normalized back on the way in. You forget about it after the first commit. jj doesn't read .gitattributes, so it can't apply a per-file rule. There's a long-standing issue (jj-vcs/jj#53) tracking support for at least the eol attribute, but until it lands jj's only lever is the global working-copy.eol-conversion setting. That's the rough equivalent of Git's core.autocrlf: it applies to every file at once

## Attacking MSSQL Servers, Pt. II | Huntress

DevFeed: [Attacking MSSQL Servers, Pt. II | Huntress](<https://devfeed.tech/articles/attacking-mssql-servers-pt-ii-huntress-54212.md>)

Original publisher: [Read original article](<https://www.huntress.com/blog/attacking-mssql-servers-pt-ii>)

Author: Team Huntress

Published: 2024-02-29T00:00:00Z

Content type: article

Language: en

Sources: [Huntress Blog](<https://devfeed.tech/sources/huntress-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Cybercrime](<https://devfeed.tech/topics/cybercrime.md>), [ransomware](<https://devfeed.tech/topics/ransomware.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Endpoint Security & XDR](<https://devfeed.tech/topics/endpoint-security-xdr.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [batch](<https://devfeed.tech/tags/batch.md>), [edr](<https://devfeed.tech/tags/edr.md>), [incident](<https://devfeed.tech/tags/incident.md>), [mssql](<https://devfeed.tech/tags/mssql.md>), [password](<https://devfeed.tech/tags/password.md>), [ransomware-attacks](<https://devfeed.tech/tags/ransomware-attacks.md>), [servers](<https://devfeed.tech/tags/servers.md>), [soc](<https://devfeed.tech/tags/soc.md>), [telemetry](<https://devfeed.tech/tags/telemetry.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Huntress documents a second incident involving attacks on MSSQL servers. The investigation found xp_cmdshell activity, commands that extracted executable and batch files, creation of an administrative account, changes to local groups, and ransomware-related activity identified through EDR telemetry and Windows Event Logs.

### Source excerpt

The publication of the first blog post led a Huntress SOC analyst to identify and escalate a second, similar incident. A deeper investigation into the activity made it clear that the Huntress SOC had obviated several Trigona ransomware attacks, protecting customers from the impact of a ransomware infection.

## Ransomware Deployment Attempts Via TeamViewer | Huntress

DevFeed: [Ransomware Deployment Attempts Via TeamViewer | Huntress](<https://devfeed.tech/articles/ransomware-deployment-attempts-via-teamviewer-huntress-54539.md>)

Original publisher: [Read original article](<https://www.huntress.com/blog/ransomware-deployment-attempts-via-teamviewer>)

Author: Harlan Carvey

Published: 2024-01-17T00:00:00Z

Content type: article

Language: en

Sources: [Huntress Blog](<https://devfeed.tech/sources/huntress-blog.md>)

Topics: [ransomware](<https://devfeed.tech/topics/ransomware.md>), [Cybercrime](<https://devfeed.tech/topics/cybercrime.md>), [Security](<https://devfeed.tech/topics/security.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [incident](<https://devfeed.tech/topics/incident.md>), [legacy systems](<https://devfeed.tech/topics/legacy-systems.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [curl](<https://devfeed.tech/tags/curl.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [incident](<https://devfeed.tech/tags/incident.md>), [legacy](<https://devfeed.tech/tags/legacy.md>), [lockbit](<https://devfeed.tech/tags/lockbit.md>), [ransomware](<https://devfeed.tech/tags/ransomware.md>), [security](<https://devfeed.tech/tags/security.md>)

### AI overview

Huntress describes two limited ransomware deployment attempts that reached endpoints through TeamViewer. Analysts used TeamViewer connection logs to identify access timing, session duration, and repeated administrator activity, while security software inhibited one incident.

### Source excerpt

Huntress analysts continue to observe access to endpoints via legacy TeamViewer installations, and/or compromised TeamViewer credentials.

## Analyzing and Detecting a VMTools Persistence Technique

DevFeed: [Analyzing and Detecting a VMTools Persistence Technique](<https://devfeed.tech/articles/analyzing-and-detecting-a-vmtools-persistence-technique-20503.md>)

Original publisher: [Read original article](<https://bohops.com/2021/10/08/analyzing-and-detecting-a-vmtools-persistence-technique/>)

Author: bohops

Published: 2021-10-08T03:42:18Z

Content type: tutorial

Language: en

Sources: [Bohops](<https://devfeed.tech/sources/bohops.md>)

Topics: [Persistence](<https://devfeed.tech/topics/persistence.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Process](<https://devfeed.tech/topics/process.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Utility Software](<https://devfeed.tech/topics/utility.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [payload](<https://devfeed.tech/tags/payload.md>), [persistence](<https://devfeed.tech/tags/persistence.md>), [process](<https://devfeed.tech/tags/process.md>), [script](<https://devfeed.tech/tags/script.md>), [uncategorized](<https://devfeed.tech/tags/uncategorized.md>), [utilities](<https://devfeed.tech/tags/utilities.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This article analyzes a VMware Tools persistence technique on Windows virtual machines. It explains how VMwareToolBoxCmd.exe and the tools.conf file can configure batch scripts to run during VM power-state operations, and discusses detection strategies. The demonstrated payload runs as a child process of vmtoolsd.

### Source excerpt

Introduction It is always fun to reexplore previously discovered techniques or pick back on old research that was put on the wayside in hopes to maybe finding something new or different. Recently, I stood up an ESXi server at home and decided to take a quick peak at the VMware directory structure after installing the [...]

## GitHub Actions default shell on Windows runners is changing to PowerShell

DevFeed: [GitHub Actions default shell on Windows runners is changing to PowerShell](<https://devfeed.tech/articles/github-actions-default-shell-on-windows-runners-is-changing-to-powershell-74829.md>)

Original publisher: [Read original article](<https://github.blog/changelog/2019-10-17-github-actions-default-shell-on-windows-runners-is-changing-to-powershell>)

Author: Chris Patterson

Published: 2019-10-17T15:10:17Z

Content type: release

Language: en

Sources: [GitHub Changelog](<https://devfeed.tech/sources/github-changelog.md>)

Topics: [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [PowerShell](<https://devfeed.tech/topics/powershell.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Windows](<https://devfeed.tech/topics/windows.md>)

Tags: [2019](<https://devfeed.tech/tags/2019.md>), [actions](<https://devfeed.tech/tags/actions.md>), [batch](<https://devfeed.tech/tags/batch.md>), [change](<https://devfeed.tech/tags/change.md>), [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [run](<https://devfeed.tech/tags/run.md>), [scripting](<https://devfeed.tech/tags/scripting.md>), [shell](<https://devfeed.tech/tags/shell.md>), [update](<https://devfeed.tech/tags/update.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

Starting 10/23/2019, GitHub Actions changed the default shell for `run` steps on Windows runners to PowerShell. Workflows with Windows batch scripting in a `run` step should specify `shell: cmd` to avoid breaking. The excerpt directs questions and feedback to the GitHub Community Forum's Actions Board.

### Source excerpt

On 10/23/2019 we will change the default shell for the run step on Windows runners to PowerShell. If your run step contains Windows batch scripting you should update it to...

## Python Techniques for Batch Files, Context Managers, and Command-Line Arguments

DevFeed: [Python Techniques for Batch Files, Context Managers, and Command-Line Arguments](<https://devfeed.tech/articles/a-heaping-helping-of-python-goodness-32195.md>)

Original publisher: [Read original article](<https://bruceeckel.com/2014/12/05/a-heaping-helping-of-python-goodness/>)

Author: Bruce Eckel

Published: 2014-12-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [Bruce Eckel - Computing Thoughts](<https://devfeed.tech/sources/bruce-eckel-computing-thoughts.md>)

Topics: [Python](<https://devfeed.tech/topics/python.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [command-line](<https://devfeed.tech/tags/command-line.md>), [python](<https://devfeed.tech/tags/python.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

A tutorial-style article describing Python techniques for repetitive tasks, including running a Python program from a Windows batch file, using a context manager to restore a working directory, and command-line arguments.

### Source excerpt

I really enjoy solving problems quickly and thoroughly. I especially enjoy solving annoying, repetitive problems that invite human error. The icing on the cake is when I learn some new tricks in the process. This last few days was a flurry of problem-solving and trick-learning. My favorite tricks are small bits of learning that make code easier to write, read and use. A couple of these are Windows-specific but most are general.

## Deploying: Git vs. TFS Showdown

DevFeed: [Deploying: Git vs. TFS Showdown](<https://devfeed.tech/articles/deploying-git-vs-tfs-showdown-21173.md>)

Original publisher: [Read original article](<https://juri.dev/blog/2012/11/deploying-git-vs-tfs-showdown/>)

Published: 2012-11-15T00:00:00Z

Content type: comparison

Language: en

Sources: [Juri Strumpflohner](<https://devfeed.tech/sources/juri-strumpflohner.md>)

Topics: [Git](<https://devfeed.tech/topics/git.md>), [Deployment](<https://devfeed.tech/topics/deployment.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Compression](<https://devfeed.tech/topics/compression.md>), [Windows](<https://devfeed.tech/topics/windows.md>), [GitHub](<https://devfeed.tech/topics/github.md>), [JavaScript](<https://devfeed.tech/topics/javascript.md>)

Tags: [automated](<https://devfeed.tech/tags/automated.md>), [batch](<https://devfeed.tech/tags/batch.md>), [build](<https://devfeed.tech/tags/build.md>), [compression](<https://devfeed.tech/tags/compression.md>), [continuous-integration](<https://devfeed.tech/tags/continuous-integration.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [git](<https://devfeed.tech/tags/git.md>), [github](<https://devfeed.tech/tags/github.md>), [javascript](<https://devfeed.tech/tags/javascript.md>), [visual-studio](<https://devfeed.tech/tags/visual-studio.md>), [vs](<https://devfeed.tech/tags/vs.md>), [windows](<https://devfeed.tech/tags/windows.md>)

### AI overview

This comparison examines a deployment workflow using Git versus TFS. It describes an automated batch script that clears and compresses frontend and library files, then compares how Git and TFS handle the resulting file changes. The text says GitHub Client recognizes the changes for committing and pushing, while TFS requires a check-in workflow involving TFS Power Tools.

### Source excerpt

Lorem ipsum dolor sit amet

## Saving your time: how to work with large reference databases on WP7

DevFeed: [Saving your time: how to work with large reference databases on WP7](<https://devfeed.tech/articles/saving-your-time-how-to-work-with-large-reference-databases-on-wp7-38410.md>)

Original publisher: [Read original article](<https://khmylov.com/2011/11/saving-your-time-how-to-work-with-large/>)

Author: Andrew Khmylov

Published: 2011-11-16T00:00:00Z

Content type: tutorial

Language: en

Sources: [Despite the odds](<https://devfeed.tech/sources/despite-the-odds.md>)

Topics: [software-development](<https://devfeed.tech/topics/software-development.md>), [Batch file](<https://devfeed.tech/topics/batch-file.md>), [Script](<https://devfeed.tech/topics/script.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [configuration](<https://devfeed.tech/topics/configuration.md>), [Visual Studio](<https://devfeed.tech/topics/visual-studio.md>)

Tags: [batch](<https://devfeed.tech/tags/batch.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [databases](<https://devfeed.tech/tags/databases.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [development](<https://devfeed.tech/tags/development.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [saving](<https://devfeed.tech/tags/saving.md>), [script](<https://devfeed.tech/tags/script.md>), [sql-server](<https://devfeed.tech/tags/sql-server.md>)

### AI overview

This tutorial explains how to speed up development deployments of a large read-only SQL Server CE reference database on Windows Phone 7. It compares isolated storage with packaging the database in the XAP file, then presents a batch-script approach for uploading the database to an emulator and configuring different debug and release behaviors.

### Source excerpt

In the previous post I showed how to load the large SQL Server CE database on WP7. However, if you are working with a read-only reference database, deploying it to the phone or emulator may take up to several minutes. In this post I will try to explain how to save your nerves and time, making the regular development and debugging easier. So for now, there are 2 options for deploying the database with your app: Use Isolated Storage. Upload the database to the device with the help of ISETool. For ~50 mb database it takes 4 minutes on my laptop. Pack it as the application content (setting Build Action to Content). In that case, the database is packed into the XAP file on your machine and then unpacked back on the device. While this approach is a bit faster then the first one, it still takes something about 1 minute to deploy your app, which I find unacceptable. Note that the 1st option should be used only for Debug configurations. The only way to include the reference database when delivering the app to the users is by packing it into the XAP (you may, however, copy it to Isolated Storage upon the first launch, but I don't see any sense why should you do so). So I can't fasten the packaging process, but I can upload my database to the Isolated Storage once and it will be preserved between the application deploys when debugging. When I need to release the application build, I will include the database to XAP file content. Sounds easy. Being lazy motivates me to script the uploading routine. Here is a batch file that takes the IS snapshot with ISETool, adds the database file and restores the snapshot on the emulator: set isePath="C:Program Files (x86)Microsoft SDKsWindows Phonev7.1ToolsIsolatedStorageExplorerToolISETool.exe" set tempPath="C:TempDatabaseIS" set dbPath="your_db_path" set appId=your_app_id %isePath% ts de %appId% %tempPath% copy %dbPath% %tempPath% %isePath% rs de %appId% %tempPath% In the snippet above you need to replace your_db_path with the path to your