path concatenation without `/` in Windows
See original GitHub issueHey there!
Got super excited when I found this, but I’m having some issues:
Module not found: Can't resolve 'C:UsersloganProjectscensusLUCA-appealslayoutsdocs-page' in 'C:\Users\logan\Projects\census\LUCA-appeals\pages'
Might this be an OS issue? Which are you using?
Issue Analytics
- State:
 - Created 4 years ago
 - Comments:7 (4 by maintainers)
 
Top Results From Across the Web
How can I concatenate two file paths in batch script without the ...
The most reliable way is to use a for loop and the ~f modifier: for %%I in ("D:\WinLibraryes\\Libraries\.\python\wrong\..\\win\") do @echo/%~fI ...
Read more >CMD: Append to path without duplicating it? - Super User
How do I avoid duplicating it (i.e. check whether it is already contained in the PATH "string"). Remarks: Related: How do I append...
Read more >Path.Join Method (System.IO) - Microsoft Learn
This method simply concatenates path , path2 , path3 and path4 and adds a directory separator character between any of the path components...
Read more >String Concatenation - Python Programming Tutorials
As you may have guessed, this is not the correct method. Instead, we use os.path.join . For example: # double back-slash for window's...
Read more >pathlib — Object-oriented filesystem paths — Python 3.11.1 ...
If you want to manipulate Windows paths on a Unix machine (or vice versa). You cannot instantiate a WindowsPath when running on Unix,...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

We are now running our test suite in CI on both linux and windows containers to prevent any future regression ✨
@loganpowell We looked into the Windows path issues and have opened a pull request here: https://github.com/hashicorp/next-mdx-enhanced/pull/14