Looking to create shortcut automatically for all files added to folder


  1. Posts : 153
    Windows 7 Ultimate x64
       #1

    Looking to create shortcut automatically for all files added to folder


    Hello,
    I am looking to setup a system (through windows or 3rd party software) that automatically creates a shortcut, in a specified folder, every time a new file/folder is added to a specific folder or sets of folders.

    For example consider the download folder for a Torrent application. All torrents downloaded go into this folder. Since the files cannot be moved around without having to reload them in order to get them to seed, organization of this folder becomes tough. However if all files downloaded (technically it would be all files placed) into this folder were automatically sent to a different folder as a shortcut, this would make the organization far easier.

    Any suggestions? THANKS!
    Last edited by MarkC0; 23 Nov 2011 at 20:08.
      My Computer


  2. Posts : 934
    Windows 8.1 ; Windows 7 x86 (Dec2008-Jan2013)
       #2

    Combo solution.
    http://www.brutaldev.com/page/Directory-Monitor.aspx
    NirCmd - Windows command line tool

    Setup Directory Monitor to monitor particular folder and execute THE SCRIPT(see code below). Directory Monitor has to run as administrator in order to start the script as adminustrator.

    Setup NirCmd in a specific folder. In that folder place the bat script:
    Code:
    %~dp0nircmd.exe shortcut "%~1" "C:\targetFOLDER\" "%~n1"
    Here is how this should work:
    Direcory Monitor monitors Inpunt folder, sees the new file, passes it's name to the script, script starts NirCmd, which creates a file shortcut in targetFolder.

    That is the only solution I can think of at the moment.
      My Computer


  3. Posts : 153
    Windows 7 Ultimate x64
    Thread Starter
       #3

    Worked like a charm... thank you!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:47.
Find Us