# Problem with absolute path and [ngerman] babel?

I want to get rid of relative paths and defines a new command which point to the root folder of my project:

\providecommand{\myPath}{C:/Users/xxx/Google Drive/WS_1819/Bachelorarbeit/_new/}


However, when i try to use this absoulte path like so:

\input{"C:/Users/xxx/Google Drive/WS_1819/Bachelorarbeit/_new/_text/text.tex"}


! Argument of \language@active@arg" has an extra }.


As my MWE worked with this my intention was that some packages I used in the project causes this. After trying around I found out that

\usepackage[ngerman]babel


causes this. Maybe because of the underlines in the path? Anyone an easy solution how I can solve this without renaming the whole paths in my project?

MWE

\documentclass{scrbook}
\usepackage{import}
\usepackage[utf8]{inputenc}
\usepackage[ngerman]{babel}
\usepackage[space]{grffile}

\begin{document}
%\input{preamble/packages.tex}

• it will be the double quote " which german uses as a shorthand, but you don't need them in the input, so you can just remove them. But normally it's best to avoid absolute paths, they just make the document non-portable (or as there is a space in google drive use \string" at each end rather than " – David Carlisle Aug 19 '18 at 16:27
• I meant \input{\string"C:/Users/Sebastian/Google Drive/pathtest/preamble/packages.tex\string"} but I would never use such a path in a document, why not just \input{packages} ??? – David Carlisle Aug 19 '18 at 18:33