avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Wednesday July 17, 2024, 6:02 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: How to create a folder automatically on my PC using a weblink on the browser  (Read 2885 times)


  • Participant
  • Joined in 2016
  • *
  • default avatar
  • Posts: 1
    • View Profile
    • Donate to Member
I have a url link on the browser page that is clickable (For example.,  Folder 2345 ). When I click this link, it should create a folder automatically on my computer, and should not prompt me with a file dialog box.
Does anybody know how to best achieve this?




  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
You could try an AutoHotkey script.

In this example you would select the folder name in the browser, then hit the hotkey (control shift d) to copy it to clipboard and then make a folder with the name.  If there is no drive part in the folder name (does not contain ":") then it will be appended to C:\.

To test it uncomment the MsgBox line and comment out the FileCreateDir line

Clipboard text, if any, that was in the clipboard when the hotkey was pressed, is preserved.

Code: Autohotkey [Select]
  1. ClipSave := ""
  2. Root := "C:\"
  3. return
  5. ^+d::
  6.         ClipSave := Clipboard
  7.         Clipboard := ""
  8.         Send ^c
  9.         ClipWait 2
  10.         FName=%Clipboard%
  11.         If FName  not contains  :
  12.                 FName := Root FName
  13.         Clipboard := ClipSave
  14.         ;MsgBox %FName%
  15.          FileCreateDir, %FName%
  16. return