mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-11-03 12:38:05 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Batchfile
		
	
	
	
	
	
@echo off
 | 
						|
 | 
						|
for /F "tokens=2,3,4 delims=<>" %%a in (%~dp0..\build\VStudio\build.version.props) do (
 | 
						|
    if "/%%a"=="%%c" (
 | 
						|
        if "%%a"=="MyProductName" (
 | 
						|
            set MyProductName=%%b
 | 
						|
        ) else if "%%a"=="MyProductFileName" (
 | 
						|
            set MyProductFileName=%%b
 | 
						|
        ) else if "%%a"=="MyDescription" (
 | 
						|
            set MyDescription=%%b
 | 
						|
        ) else if "%%a"=="MyCompanyName" (
 | 
						|
            set MyCompanyName=%%b
 | 
						|
        ) else if "%%a"=="MyProductVersion" (
 | 
						|
            set MyProductVersion=%%b
 | 
						|
        ) else if "%%a"=="MyProductStage" (
 | 
						|
            set MyProductStage=%%b
 | 
						|
        ) else if "%%a"=="MyCrossCert" (
 | 
						|
            set MyCrossCert=%%b
 | 
						|
        ) else if "%%a"=="MyCertIssuer" (
 | 
						|
            set MyCertIssuer=%%b
 | 
						|
        )
 | 
						|
    )
 | 
						|
)
 | 
						|
 | 
						|
echo MyProductName=%MyProductName%
 | 
						|
echo MyProductFileName=%MyProductFileName%
 | 
						|
echo MyDescription=%MyDescription%
 | 
						|
echo MyCompanyName=%MyCompanyName%
 | 
						|
echo MyProductVersion=%MyProductVersion%
 | 
						|
echo MyProductStage=%MyProductStage%
 | 
						|
echo MyCrossCert=%MyCrossCert%
 | 
						|
echo MyCertIssuer=%MyCertIssuer%
 |