₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,065 members, 8,420,128 topics. Date: Thursday, 04 June 2026 at 11:50 AM

Toggle theme

Can You Help Me With A Script Or Command Or Program - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingCan You Help Me With A Script Or Command Or Program (354 Views)

1 Reply

Can You Help Me With A Script Or Command Or Program by fidelism(op): 6:35pm On Mar 08, 2022
I have a list of pdf files that needs to be moved to list of folders. Each file will be moved to a folder that has the same name as the pdf. Can someone help with a simple script or something where I can move each pdf to a folder that matches its name?
Re: Can You Help Me With A Script Or Command Or Program by fidelism(op): 11:13pm On Mar 08, 2022
I was about to get it solved. Incase you need it. This is the script.

@echo off
for %%i in (*) do (
if not "%%~ni" == "organize" (
md "%%~ni" && move "%%~i" "%%~ni"
)
)

Paste it on a notepad and save it with the extension .bat

Run it within the folder if the files
1 Reply

I Need Sme Data Resell Script Or PluginWhat Device Or Program Can Do This?Jave Script Or PHP234

Lulzsec Hacking School Now Open For EveryoneIj.start.canonStorytime