Skip to content

Instantly share code, notes, and snippets.

@orange-in-space
Created January 7, 2022 14:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orange-in-space/d00bba7eaf60a43ae741cfcd59f595a1 to your computer and use it in GitHub Desktop.
Save orange-in-space/d00bba7eaf60a43ae741cfcd59f595a1 to your computer and use it in GitHub Desktop.
csc.exe finder batchfile
@echo off
@setlocal
@for /f "usebackq delims=" %%A in (`dir /s /b %WINDIR%\Microsoft.NET\CSC.EXE`) do set CSCFULLPATH=%%A
@echo on
@echo csc fullpath is %CSCFULLPATH%
%CSCFULLPATH% %~1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment