Skip to content

$timeFilePath fails with Space in path #167

@tmallwitz

Description

@tmallwitz

Hi,

Writing the lastExecutionTime Fails if the path has a space (for me it´s in OneDrive).
I fixed it by creating a profile.ps1 with this line:

$timeFilePath_Override = Join-Path -Path ([Environment]::GetFolderPath("MyDocuments")) -ChildPath "PowerShell\LastExecutionTime.txt"

This line should be part of the org script

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions