Jul-30-2022, 12:56 PM
Hi, My question is regarding file Directories in Windows based Systems:
Suppose I have a Directory :
In that Directory I have:
---- A Text file :
---- A Python file :
And I have A shortcut :
If
Provided, the Path of the shortcut
Suppose I have a Directory :
D:\PyProj\
In that Directory I have:
---- A Text file :
D:\PyProj\Assets\Data.txt
---- A Python file :
D:\PyProj\meow.py
And I have A shortcut :
C:\Woof.lnk
Which is linked to the above python file.If
meow.py
is launched using Woof.lnk
How may I read Data.txt
?Provided, the Path of the shortcut
Woof.lnk
May Change.