This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell -Command "(Get-Item 'C:\JWSLite\JWSLite.exe').VersionInfo.FileVersion" | |
| powershell -Command "(Get-Item 'C:\JWSLite\JWSLite.exe').VersionInfo.CompanyName" | |
| FileVersion Versão completa e formatada do arquivo powershell -c "(gci 'C:\path\file.exe').VersionInfo.FileVersion" | |
| ProductVersion Versão completa e formatada do produto powershell -c "(gci 'C:\path\file.exe').VersionInfo.ProductVersion" | |
| FileDescription Descrição do propósito do arquivo powershell -c "(gci 'C:\path\file.exe').VersionInfo.FileDescription" | |
| ProductName Nome do produto ao qual o arquivo pertence powershell -c "(gci 'C:\path\file.exe').VersionInfo.ProductName" | |
| CompanyName Nome da empresa que criou o arquivo. powershell -c "(gci 'C:\path\file.exe').VersionInfo.CompanyName" | |
| LegalCopyright Informações de Copyright. powershell -c "(gci 'C:\path\file.exe').VersionInfo.LegalCopyright" | |
| OriginalFilename O nome original do arquivo quando |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| powershell.exe -ExecutionPolicy Bypass -Command "$f='$(OUTPUTPATH)'; $v=((Get-Item $f).VersionInfo.FileVersion -replace '\.',''); $b=[System.IO.Path]::GetFileNameWithoutExtension($f); $e=[System.IO.Path]::GetExtension($f); $n=$b + '_v' + $v + $e; $dest='C:\Progs\Apps'; Copy-Item -Path $f -Destination (Join-Path $dest $n) -Force; Write-Host \"✅ Deploy Sucesso: Arquivo copiado para $dest\nCom nome: $n\"" |