Think this should have worked - Printable Version +- QB64 Phoenix Edition (https://qb64phoenix.com/forum) +-- Forum: Chatting and Socializing (https://qb64phoenix.com/forum/forumdisplay.php?fid=11) +--- Forum: General Discussion (https://qb64phoenix.com/forum/forumdisplay.php?fid=2) +--- Thread: Think this should have worked (/showthread.php?tid=3023) |
Think this should have worked - doppler - 09-11-2024 At least in windows it would be nice. Since special paths exists in windows which are normally hidden as well example: _Title "path test" ' ' test for windows special paths ' Open "%APPDATA%\HexChat\logs\rizon\test.txt" For Binary As #1 Line Input #1, d$ Close Print d$ The test file only included a single line to let me know it happened. But didn't get there, failed with path not found on open. There are lot's of other important %paths% that windows has buried in the environment labels. Suggest. Can or should we make it work ? RE: Think this should have worked - a740g - 09-11-2024 Change that open line to: Code: (Select All)
See _DIR$ - QB64 Phoenix Edition Wiki for other standard OS paths. RE: Think this should have worked - doppler - 09-11-2024 I knew _dir$ had some work done to it, but I never had time to investigate all the nuances yet. Thanks |