Hey, I am stuck on a problem when trying to set up my file path. Can you please guide me through this?
Hey, I am stuck on a problem when trying to set up my file path. Can you please guide me through this?
I'm working on a program in portable mode, and in one setting I want to add a path for skin.jpg. I would like something like this: ./themes/skins/skin.jpg BUT NOT like this... c:/portableprogram/themes/skins/skin.jpg. The idea is that the portable program should find that file from any folder or drive letter. The problem is the prompt (dialog box) can't be edited via cut and paste. That includes keyboard shortcuts. I have to click the "..." button and manually locate the file. Once selected, it enters the way I don't want: c:/portableprogram/themes/skins/skin.jpg. So I am unable to edit it to ./themes/skins/skin.jpg Does anyone know of some directory hack I can do so I can get it to grab the shortcut path I need? Thanks
Sure: what program are you ( @Fizbin69 ) working with? I'm wondering about those slashes. Just wanted to say here: https://docs.microsoft.com/en-us/dotnet/...th-formats https://www.minitool.com/news/backslash-...slash.html What do we need is some way to find the exact file and its path name. PowerShell can help us do that - probably using Get-ChildItem cmdlet Find the path, then cut and paste as suggested by @Grobe . Still, more details would be helpful.....
Okay: what program are you ( @Fizbin69 ) working with? I am wondering about those slashes. By the way: here is a link to Microsoft docs on file path formats and another site explaining backslash vs forward slash. The thing we need is some way to find the desired file along with its path name. PowerShell can do that - they likely use Get-ChildItem cmdlet. Find the path, then cut and paste as someone suggested. Still, more info would be helpful...