0

In a Windows/Linux environment, I'm having trouble with copying and pasting file system links to AND from! Right now, I use Gitbash (uses / for folder/subf ) which has been helpful. BUt it wants directories like this:

/c/Users/me/Documents/clamchowdah.txt (Non-windows) 
=
C:\Users\me\Documents\clamchowdah.txt (Windows) 

Is my only option to use awk or sed or is there some facility I can use?

4
  • 1
    It is not clear where you have this pathname, and whether you want to convert it to the Windows style or to the Unix style. Commented Aug 14, 2019 at 15:26
  • 2
    Might be answered in unix.stackexchange.com/questions/413376/… winepath might get you there Commented Aug 14, 2019 at 15:28
  • Thanks. I'll add detail to the question and try the link Commented Aug 15, 2019 at 19:27
  • On every Microsoft operating system since MS-DOS, both the / and \ characters were supported as path separators. If you are not able to use forward slashes on Windows, it's due to a problem in the application; it's applying some invalid check or other processing and not just passing the path down to the OS. Commented May 31, 2023 at 2:51

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.