Quantcast
Channel: Active questions tagged windows - Super User
Viewing all articles
Browse latest Browse all 9186

Is there a way to use Linux-like symlinks on a Windows computer?

$
0
0

My application is writing logs to a directory, which is hardcoded "Logs" and is present under the runtime directory of my application.
Today, a customer asked me if it was possible to have those logs on another place (on another computer).

As a first test, I tried to create a symlink:

  1. I stopped the application.
  2. I removed the "Logs" directory.
  3. Using a WSL on my computer, I created a symlink, something like ln -s /mnt/c/Temp_Folder/TestLog/ /mnt/c/<Application>/Logs.
  4. I started up my application.

I did not see any logs appearing in the directory C:\Temp_Folder\TestLog\.

I see different reasons:

  • Either it's a complete stupid idea to try to use Linux technology on a Windows computer.
  • Either it might work, but some extra things need to be taken into account.

I hope it's the second choice, but in that case, what things do I need to take into account?


Viewing all articles
Browse latest Browse all 9186

Trending Articles