📎 AI Summary:
The thread involves a user seeking help to automate a folder-related task using a batch file. They want the batch file to run automatically when clicking a desktop folder icon, prompt for input to rename a subfolder, and then move files into that renamed folder. A responder suggests that an autorun.inf file might be a solution, but notes that it generally only functions in drive roots, indicating possible limitations in achieving full automation as described.

shreked

New Member
Joined
Apr 8, 2018
Messages
1
Thread Author #1
Hi

I have a batch file command set up in a folder on my PC of which creates a new subfolder fine but what im trying to do is to be able to auto run that batch file when I click on the folder icon on the desktop.

What I need to do then if poss for a message box or something come up to tell me to input the reference number and that will rename the new subfolder.

After that if poss there will be files in the original folder that I need moving into the new subfolder that ive just renamed.

The command that I have in the .BAT file at the moment is

@echo off MD DOWNLOAD

Am I able to do that if so could you make it simple please as totally new to batch files.

Thanks
 

Neemobeer

Windows Forum Team
Staff member
Joined
Jul 4, 2015
Messages
8,995
An autorun.inf may work, but I'm not sure they work in anything other that the root of a drive.