Skip to content

Release v1.6.0.0

Latest

Choose a tag to compare

@oleg-shilo oleg-shilo released this 12 May 09:24
· 4 commits to master since this release
  • #34: possible to adjust MAX_PATH?
    Now the process that handles the shell extension always has the environment variable ARGS_FILE set to teh text file containing all selected items.

Examples of command script files

  • 00.TestLongSelection.cmd (00.TestLongSelection.bat)
     my_app.exe %ARGS_FILE%
  • 00.TestLongSelection.ps1
      # Expand the environment variable
      $argsFilePath = [Environment]::ExpandEnvironmentVariables("%ARGS_FILE%")
    
      # Check if the file exists
      if (-not (Test-Path $argsFilePath)) {
          Write-Error "File not found: $argsFilePath"
          exit 1
      }
    
      # Read and print every line
      Get-Content $argsFilePath | ForEach-Object {
          Write-Output $_
      }