René's URL Explorer Experiment


Title: Provide a platform-agnostic way to determine the temp. directory, e.g., via an automatic variable. · Issue #4216 · PowerShell/PowerShell · GitHub

Open Graph Title: Provide a platform-agnostic way to determine the temp. directory, e.g., via an automatic variable. · Issue #4216 · PowerShell/PowerShell

X Title: Provide a platform-agnostic way to determine the temp. directory, e.g., via an automatic variable. · Issue #4216 · PowerShell/PowerShell

Description: Related: #3442 and #4215 The various supported platforms have different native ways to determine the directory in which to store temporary files and directories: Windows: $env:TEMP macOS: $env:TMPDIR Linux: /tmp Currently, there is no pl...

Open Graph Description: Related: #3442 and #4215 The various supported platforms have different native ways to determine the directory in which to store temporary files and directories: Windows: $env:TEMP macOS: $env:TMPD...

X Description: Related: #3442 and #4215 The various supported platforms have different native ways to determine the directory in which to store temporary files and directories: Windows: $env:TEMP macOS: $env:TMPD...

Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4216

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Provide a platform-agnostic way to determine the temp. directory, e.g., via an automatic variable.","articleBody":"\u003csup>Related: #3442 and #4215\u003c/sup>\r\n\r\nThe various supported platforms have different native ways to determine the directory in which to store temporary files and directories:\r\n\r\n* Windows:\r\n    * `$env:TEMP`\r\n* macOS:\r\n    * `$env:TMPDIR`\r\n* Linux:\r\n    * `/tmp`\r\n\r\nCurrently, there is no platform-agnostic way to refer to this directory, which is cumbersome.\r\n\r\nAn automatic variable, say `$TEMP`, could provide this abstraction.\r\n\r\nEnvironment data\r\n----------------\r\n\r\n\u003c!-- provide the output of $PSVersionTable -->\r\n\r\n```powershell\r\nPowerShell Core v6.0.0-beta.3\r\n```\r\n","author":{"url":"https://github.com/mklement0","@type":"Person","name":"mklement0"},"datePublished":"2017-07-11T02:03:44Z","url":"https://github.com/PowerShell/PowerShell/issues/4216"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:cb42b7a5-a1cb-04fd-27e1-7e4982b517c9
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEB1A:3201B9:84799:AFBE8:6AFD2A7F
html-safe-nonce71f0dab47d1f0f478e6df8ad1b7ccba09de340ac009116b64a41ea6b8a038340
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjFBOjMyMDFCOTo4NDc5OTpBRkJFODo2QUZEMkE3RiIsInZpc2l0b3JfaWQiOiIzMjA2ODQ0OTc4Mzk1MTYzMjYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac9ae636497dbac5a198dd90d7d1d7c15fcf95643eede9ede3de7f927a275380b1
hovercard-subject-tagissue:241902714
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4216/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0c1a871a45dcc2005bc6154adc7884a2df9c145715458448102e55a258e2760d/PowerShell/PowerShell/issues/4216
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0c1a871a45dcc2005bc6154adc7884a2df9c145715458448102e55a258e2760d/PowerShell/PowerShell/issues/4216
og:image:altRelated: #3442 and #4215 The various supported platforms have different native ways to determine the directory in which to store temporary files and directories: Windows: $env:TEMP macOS: $env:TMPD...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemklement0
hostnamegithub.com
expected-hostnamegithub.com
None065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19
turbo-cache-controlno-preview
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release941021edf0c2ec58298f4a2c8f27ae507d129c92
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/issues/4216#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F4216
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fissues%2F4216
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/issues/4216
Reloadhttps://github.com/PowerShell/PowerShell/issues/4216
Reloadhttps://github.com/PowerShell/PowerShell/issues/4216
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests364 (364)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4216
New issuehttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4216
#9872https://github.com/PowerShell/PowerShell/pull/9872
Provide a platform-agnostic way to determine the temp. directory, e.g., via an automatic variable.https://github.com/PowerShell/PowerShell/issues/4216#top
#9872https://github.com/PowerShell/PowerShell/pull/9872
Committee-ReviewedPS-Committee has reviewed this and made a decisionhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Committee-Reviewed%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 11, 2017https://github.com/PowerShell/PowerShell/issues/4216#issue-241902714
#3442https://github.com/PowerShell/PowerShell/issues/3442
#4215https://github.com/PowerShell/PowerShell/issues/4215
Nexthttps://github.com/PowerShell/PowerShell/issues/4216?timeline_page=1
https://github.com/lukeb1961
lukeb1961https://github.com/lukeb1961
on Jul 11, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-314304597
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 11, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-314304871
lukeb1961https://github.com/lukeb1961
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jul 11, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-314471224
Ilya (iSazonov)https://github.com/iSazonov
Area-Cmdlets-Utilityhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Area-Cmdlets-Utility%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
on Jul 11, 2017https://github.com/PowerShell/PowerShell/issues/4216#event-1158965886
https://github.com/Liturgist
Liturgisthttps://github.com/Liturgist
on Jul 14, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315479138
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 14, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315480652
Liturgisthttps://github.com/Liturgist
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Jul 14, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315483163
#3571https://github.com/PowerShell/PowerShell/issues/3571
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 14, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315485920
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
lingua francahttps://en.wikipedia.org/wiki/Lingua_franca
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Jul 14, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315493182
Michael Klement (@mklement0)https://github.com/mklement0
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 15, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315543699
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jul 15, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315552379
https://github.com/dotnet/coreclr/blob/6ba74dc2a7194f8d6c86c3aeab572a074ef645c8/src/mscorlib/shared/System/IO/Path.Unix.cs#L153https://github.com/dotnet/coreclr/blob/6ba74dc2a7194f8d6c86c3aeab572a074ef645c8/src/mscorlib/shared/System/IO/Path.Unix.cs#L153
https://github.com/dotnet/coreclr/blob/6ba74dc2a7194f8d6c86c3aeab572a074ef645c8/src/mscorlib/shared/System/IO/Path.Windows.cs#L94https://github.com/dotnet/coreclr/blob/6ba74dc2a7194f8d6c86c3aeab572a074ef645c8/src/mscorlib/shared/System/IO/Path.Windows.cs#L94
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 15, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315554515
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jul 16, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315628137
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Jul 16, 2017https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-315629001
Ilya (@iSazonov)https://github.com/iSazonov
https://github.com/Liturgist
Liturgisthttps://github.com/Liturgist
on Jan 19, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-455797720
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Jan 19, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-455824695
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
completedhttps://github.com/PowerShell/PowerShell/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9872https://github.com/PowerShell/PowerShell/pull/9872
on Jun 13, 2019https://github.com/PowerShell/PowerShell/issues/4216#event-2411769984
https://github.com/Liturgist
Liturgisthttps://github.com/Liturgist
on Jun 13, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-501905269
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Jun 14, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-501951601
#3442https://github.com/PowerShell/PowerShell/issues/3442
Ilya (iSazonov)https://github.com/iSazonov
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
on Jun 14, 2019https://github.com/PowerShell/PowerShell/issues/4216#event-2412528539
https://github.com/Liturgist
Liturgisthttps://github.com/Liturgist
on Jun 15, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-502377714
Steve Lee (@SteveL-MSFT)https://github.com/SteveL-MSFT
#3442https://github.com/PowerShell/PowerShell/issues/3442
https://github.com/iSazonov
Ilya (iSazonov)https://github.com/iSazonov
on Jun 15, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-502379243
Liturgisthttps://github.com/Liturgist
#3442https://github.com/PowerShell/PowerShell/issues/3442
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
on Jun 20, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-504082592
Liturgisthttps://github.com/Liturgist
https://github.com/LYP951018
Yupei Liu (LYP951018)https://github.com/LYP951018
on Aug 1, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-517146921
https://github.com/mklement0
Michael Klement (mklement0)https://github.com/mklement0
on Aug 1, 2019https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-517279093
Yupei Liu (@LYP951018)https://github.com/LYP951018
https://github.com/anonhostpi
Blue Falcon (anonhostpi)https://github.com/anonhostpi
on Nov 24, 2025https://github.com/PowerShell/PowerShell/issues/4216#issuecomment-3571791388
#3442https://github.com/PowerShell/PowerShell/issues/3442
#25754 (comment)https://github.com/PowerShell/PowerShell/issues/25754#issuecomment-3553880289
Ryan Yates (kilasuit)https://github.com/kilasuit
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
WG-Cmdlets-Utilityhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets-Utility%22
on Jul 17, 2026https://github.com/PowerShell/PowerShell/issues/4216#event-28141943151
Sign up for freehttps://github.com/signup?return_to=https://github.com/PowerShell/PowerShell/issues/4216
Sign in to commenthttps://github.com/login?return_to=https://github.com/PowerShell/PowerShell/issues/4216
Committee-ReviewedPS-Committee has reviewed this and made a decisionhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Committee-Reviewed%22
Issue-Discussionthe issue may not have a clear classification yet. The issue may generate an RFC or may be reclassifhttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Issue-Discussion%22
Resolution-FixedThe issue is fixed.https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Resolution-Fixed%22
WG-Cmdletsgeneral cmdlet issueshttps://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22WG-Cmdlets%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.