question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Opening relative filename in root of current drive (Windows) is broken

See original GitHub issue

Let’s say I have a file c:\Test.txt and I am in subdirectory c:\Somewhere. If I start Cud with cudatext c:\Test.txt or cudatext ..\Test.txt the file is loaded.

If I try to load this with cudatext \Test.txt I get a query whether C:\Somewhere\\Test.txt should be created. The file is not loaded.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
tmsg-ghcommented, Oct 3, 2020

It works… but only partly. With no Cud loaded and in x:\somewhere, I do: cudatext \test1.txt and this loads x:\test1.txt. OK. If I now do this: cudatext \test2.txt I get the same messagebox as before telling me that x:\somewhere\test2.txt doesn’t exist. 2nd/1st instance communication trouble, I assume.

1reaction
tmsg-ghcommented, Sep 28, 2020

Seriously without jokes smiley I don’t know how many things have @Alexey-T for to do, but some times I think that @Alexey-T is looking more for people that can help with Cud or with FP development instead of testers, but is OK I say it with all respect, I can have an idea because my main work is as developer and I know the time that some times one issue/feature can takes to implement or to fix. In my specific case Cud for me is a challenge in an attempt to learn a new language (FP) and all the project one opportunity to join to the Open Source principles, but as all in the life, everything needs time, effort, etc.

I am developer myself. And I would LOVE to help with the development of Cud… but it’s written in FP and I am in no way proficient in Pascal anymore (I was, in another life 😄 ), let alone the intricacies of FP.

If Cud were written in C or C++ I would certainly have created a few patches already, for stuff I think would be good to have. But as it stands, I can’t.

EDIT: Actually, the problem isn’t even that Cud is written in Pascal. I can cobble together some lines of Pascal and though it would take me a lot more time than it would @Alexey-T I would be able to do it (thanks to Google and stackexchange 😄 ). The real problem for me is setting up the development environment and all the required components etc. That requires a lot of FP know-how which I simply don’t have.

Read more comments on GitHub >

github_iconTop Results From Across the Web

File path formats on Windows systems | Microsoft Learn
A relative path to a file in a directory starting from the current directory. C:\Projects\apilibrary\apilibrary.sln, An absolute path to a file ...
Read more >
Resolve absolute path from relative path and/or file name
User opens a command window in "C:\Foo" and calls Bar\test.bat ..\somefile.txt; In the batch file "C:\Foo\somefile.txt" would be derived from %1.
Read more >
Relative and absolute paths, in the file system and on the web ...
on Windows it's either \ (for the current disk) or D:\ (system-wide). Relative paths. If you don't supply the root, it means that...
Read more >
How to use relative paths on windows CMD? - Super User
Start a process using the file my_executable.exe found (with starting point in the current directory (relative path)) by going two ...
Read more >
File and Directory Names: File, Path, Paths (Java Files Tutorial)
A relative path is related to the current position within the file system. It describes how to get from this position to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found