0

I'm using autohotkey and try to do this:

  • Open download folder (Q:\Down in my case) or active it if already opened (subfolders don't count, for example still open Q:\Down if I opened Q:\Down\phvideos already)

Script I'm using

    Run "Q:\Down"
    ; Or
    Run % "explorer /expand, Q:\Down\"

Both of them can open such folder but active it again will open duplicated target folder in explorer

Is there any command that opens unique folder, or anyway to detect if given file path exists in opened explorer window?

2
  • The first example is exactly what I use to do this for a local folder. I don't use quotes on either end but I wouldn't expect that to matter. It may be different for folders that are on the same drive where Windows is installed but that would also be surprising. Run should work the same way the shell's Run command works. May 7, 2022 at 13:34
  • It works, wtf I was doing by searching the Internet for 3 hours, I already got the solution already lol....dunno why it didn't work when I test it the first time, thanks dude
    – Byzod
    May 7, 2022 at 13:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.