Character escape \t in terminal [closed]

I'm trying to run the following command in the terminal:

bet "C:\Users\user\Jupyter\Data\PROGRESSION\0012\t1ce_isotropic.nii.gz" "C:\Users\user\Jupyter\Data\PROGRESSION\0012\fet_brain.nii.gz" -R -f 0.3 -o -m

But I get the following error

Error: input image C:\Users\kated\Jupyter\ThesisData\PROGRESSION 1ce_isotropic not valid

A little research showed that using single quotes here should do the trick (since I have no other single quotes in my string), but after changing to single quotes, the same error persists.

What am I doing wrong?

3

1 Answer

Since you posted this in AskUbuntu, I'm going to assume you are running Ubuntu, not Windows.

In Ubuntu, the path separator character is / not \ and \ is an escape character. I suggest you try replacing all the \ characters with / and see if that helps. Ironically, this would probably work in Windows too.

5

You Might Also Like