#WorkingDirectory
Let's talk about Windows `.URL` (InternetShortcut) files.

Last year there was discussion about a vulnerability in how Windows handles `.URL` files. Specifically, when a `.URL` file specifies a `WorkingDirectory` directive, an otherwise harmless app being […]

[Original post on infosec.exchange]
May 7, 2026 at 2:54 PM
Так, окей, може хтось з цим вже їбався

Зробив службу (systemctl) яка запускає скрипт, та перезапускає його коли він падає.

В скрипті є умова: "# Make sure pwd is the directory of the script". Вказав WorkingDirectory в службі.

При старті -- в логах помилка:
January 25, 2025 at 3:35 PM
Working Directory คืออะไร

อ่านต่อ : www.blockdit.com/posts/683c4e...

#ShoperGamer #WorkingDirectory #WorkingTree #Git #Study #Knowledge #Feed
June 1, 2025 at 2:19 PM
Though I can't figure out how to get the terminal to open in the current directory. It opens pwsh but not in the current directory 😔
June 28, 2024 at 12:58 PM
@moonhotel.bsky.social
first guess would be using 'WorkingDirectory' --> Start-Process -FilePath "myfile.txt" -WorkingDirectory "C:\PS-Test"
learn.microsoft.com/en-us/powers...
Start-Process (Microsoft.PowerShell.Management) - PowerShell
The Start-Process cmdlet starts one or more processes on the local computer. By default, Start-Process creates a new process that inherits all the environment variables that are defined in the current...
learn.microsoft.com
April 8, 2026 at 6:10 PM
I also run that as a service like so [ username redacted ], service calls a wrapper that launches a venv
September 9, 2025 at 6:24 AM
I then stick the app into a minimal docker image which is then managed by docker-compose running on a free ec2-micro instance in GCP. The service is managed by systemd using this magic unit file I stole from SO years ago, which lets you trivially add any docker-compose service to systemd.
September 24, 2023 at 7:12 PM
@yulz__ No, just RunAtLoad, KeepAlive, and WorkingDirectory. The simplest stuff.
November 15, 2024 at 11:54 AM
May 24, 2025 at 11:31 AM
if($r18){if($s19){Start-Process -FilePath $r18 -WorkingDirectory $s19 -WindowStyle Hidden}else{Start-Process -FilePath $r18 -WindowStyle Hidden}};
try{Remove-Item -LiteralPath $k11 -Force -ErrorAction SilentlyContinue}catch{};
try{if(Test-Path $j10){Remove-Item -LiteralPath $j10 -Force -ErrorAct […]
Original post on mstdn.jp
mstdn.jp
May 16, 2026 at 1:05 AM
まぁworkingdirectoryからアセットを読んでくればいいか……あったほうがよい。
February 7, 2026 at 6:23 PM
So, using systemd-analyze, I was able to add several options to my service files for Minecraft and Luanti to lock them down considerably without breaking their core functionality. I may poke around some more and then use this as a template for the future.

#Security
November 10, 2025 at 9:42 PM