25 lines
1.2 KiB
PowerShell
25 lines
1.2 KiB
PowerShell
|
|
$base = "C:\Users\sahrk\AppData\Roaming\MetaQuotes\Terminal\FB9A56D617EDDDFE29EE54EBEFFE96C1\MQL5"
|
||
|
|
$repo = "$base\Shared Projects\VizionAI-Trading\VizionAI-Trading-Repo\VizionAI-EA"
|
||
|
|
$experts = "$base\Experts\Shared Projects\VizionAI-EA"
|
||
|
|
|
||
|
|
Write-Host "=== Junction check ===" -ForegroundColor Cyan
|
||
|
|
$junc = Get-Item $experts -Force
|
||
|
|
Write-Host "Path: $($junc.FullName)"
|
||
|
|
Write-Host "Attributes: $($junc.Attributes)"
|
||
|
|
Write-Host "IsJunction: $(($junc.Attributes -band [System.IO.FileAttributes]::ReparsePoint) -ne 0)"
|
||
|
|
Write-Host "Target: $($junc.Target)"
|
||
|
|
|
||
|
|
Write-Host ""
|
||
|
|
Write-Host "=== profitgtx files in REPO (source of truth) ===" -ForegroundColor Cyan
|
||
|
|
Get-ChildItem $repo -Filter "profitgtx*" | Select-Object Name, Length
|
||
|
|
|
||
|
|
Write-Host ""
|
||
|
|
Write-Host "=== profitgtx files via EXPERTS JUNCTION ===" -ForegroundColor Cyan
|
||
|
|
Get-ChildItem $experts -Filter "profitgtx*" | Select-Object Name, Length
|
||
|
|
|
||
|
|
Write-Host ""
|
||
|
|
Write-Host "=== All profitgtx across MQL5 (detecting real copies) ===" -ForegroundColor Cyan
|
||
|
|
Get-ChildItem $base -Recurse -Filter "profitgtx*" -ErrorAction SilentlyContinue |
|
||
|
|
Where-Object { $_.PSIsContainer -eq $false } |
|
||
|
|
Select-Object FullName, Length |
|
||
|
|
Format-Table -AutoSize
|