google-drive-ocamlfuse icon indicating copy to clipboard operation
google-drive-ocamlfuse copied to clipboard

navigating .lnk (symlinks) to subdirs created in linux on a windows (dos) batch file

Open xbnhx opened this issue 3 years ago • 0 comments

symlinks to directories that we create with ocaml-fuse in linux are working properly for navigation using explorer in windows.

However, we have some batch scripts that execute, and they are unable to process the "blah.lnk" (which should point to a directory).

suppose we have: thedrive\subdir\xyz ---> thedrive\anotherdir

Is there a way to get something like:

echo a > g:"Shared drives"\thedrive\subdir\xyz.lnk\filea

to follow the link to "anotherdir" and create the file there.

no matter what we try, we just get "The directory name is invalid".

I'm open to redoing the batch files some other way...we just have a windows binary that needs to be run that takes some input, generates some output, and we need to be able to follow it through a symlink/shortcut to get the output in the right place.

thanks.

xbnhx avatar Mar 19 '21 21:03 xbnhx