Skip to content

Instantly share code, notes, and snippets.

View kumaraswamygaviyappa's full-sized avatar

Kumaraswamy Gaviyappa kumaraswamygaviyappa

View GitHub Profile
@Roald87
Roald87 / hardlinkPousToTestProject.bat
Created April 18, 2020 09:23
Batch script to make hardlinks from a TwinCAT plc project to a Unit test project.
@echo off
title Make hard links from project to test project
echo This script will make hard links of the project files in the POUs folder to the test project folder.
echo Before running this script make sure you already created the neccesarry folder structure in your Plc or TwinCAT project.
for %%i in (.\path\to\project\POUs\*.TcPOU) do (
mklink /H .\path\to\testproject\POUs\%%~nxi %%i
)