Secure temporary file: Difference between revisions

no edit summary
(→‎{{header|Groovy}}: mistaken attribution. (BTW, this error has existed for over 7 years and no one--most especially me--caught it.))
No edit summary
Line 395:
(out F (println (inc N))) ) ) )
-> 124</lang>
 
=={{header|PowerShell}}==
<lang PowerShell>
$tempFile = [System.IO.Path]::GetTempFileName()
Set-Content -Path $tempFile -Value "FileName = $tempFile"
Get-Content -Path $tempFile
Remove-Item -Path $tempFile
</lang>
{{Out}}
<pre>
FileName = C:\Users\Owner\AppData\Local\Temp\tmpB68.tmp
</pre>
 
=={{header|PureBasic}}==
308

edits