Windows 8 and 8.1 Forums


Auto Detect Path on Every PC

  1. #1


    Norway
    Posts : 100
    Windows 8.1 Pro x64

    Auto Detect Path on Every PC


    So i want my HTML webpage i created to load a specific file from another folder on my Drive. When i move it to another pc, the path and name changes, and i have to manually change it to. So my Question: Can i make it auto change the C:\Users\Yannic\Desktop\Website\Addons to for example C:\Users\OMG\Documents\Website\Addons?
    So that i auto changes the path for me. It only uses the \Website\Addons path and detects the rest like C:\Users\Yannic\Desktop itself? Is that possible? Thanks.

      My System SpecsSystem Spec

  2. #2


    Maryland USA
    Posts : 758
    Windows 8 & Windows 7 Dual Boot


    I know what you want to do, but I dont know how to incorporate it into your HTML but here is what you need to add as a prefix to your desired location..

    List of Windows and DOS Command Prompt Environment Variables My Digital Life


    %HomePath% is probably what youre looking for..
      My System SpecsSystem Spec

  3. #3


    Norway
    Posts : 100
    Windows 8.1 Pro x64


    Quote Originally Posted by Brooklyn567 View Post
    I know what you want to do, but I dont know how to incorporate it into your HTML but here is what you need to add as a prefix to your desired location..

    List of Windows and DOS Command Prompt Environment Variables My Digital Life


    %HomePath% is probably what youre looking for..
    Thanks. That is EXACTLY what im looking for. Just that it auto detects the previous path into it. Thanks for help.
      My System SpecsSystem Spec

Auto Detect Path on Every PC
Related Threads
User profile path default to default system path in User Accounts and Family Safety
Hello, this issue is persisting on my work windows 8 computer ( not 8.1) each time i sign in to my user session ( corporate ad account ) i have the following visible symptims ; - i receive the welcome to windows 8 screen and animations like i just installed or logged in to the...
Solved Win 8 x64 can't detect Any Cd in Drivers & Hardware
Whenever I insert any Cd or DVD to my drive i get "Please enter a disc to H:/" can anyone help me I also tried Microsoft Troubleshooter but it didn't worked. Please Help. My computer not even detect my CD.
I'm trying to set the Proxy slider to YES but it doesn't stay put. If I slide it, it goes to ON but when I leave the screen and then return to it, the slider reads OFF. It doesn't take. I need help with this one!
dear guys, dts cant detect on receiver of logitech z5500 after installing of windows 8.1,i updated latest realtek driver but no solution,, then i install motherboard recommended driver(download from mobo site last update) but no solution.it detect DOLBY DIGITAL but cant detect DTS.even i...
Hello, I use Windows 8 Pro and I have very strange problem. I enabled display hidden and system files, but system auto-disable its... I make it about three times, always with the same result. I don't know what causes this problem, I can't reproduce its (it isn't after reboot). Also I have...
I installed win 8 x64 DP with no problem ... Today I can't see my internal DVD on my computer. Open PC, checked hardware connections and no problems found. Turned computer on and no DVD still there. Sundenly when browsing for a folder I saw the DVD driver there ?!?!? Even used to install Office...
Path to FULL W8? in Installation & Setup
So I did a full clean install of W8CP on a notebook and gave it to my daughter (13).. She is loving it! Now that everything is set up the way she wants it, will there be a migration path for a full W8?
Eight Forums Android App Eight Forums IOS App Follow us on Facebook