Microsoft
Software
Hardware
Network
Question : explain script
I have a script that automatically make folders to matching files. I did not write the script, and would like to understand the coding behind it. Can someone break it down for me?
@echo off
for %%a in (*.*) do (
md "%%~na" 2>nul
move "%%a" "%%~na"
)
Answer : explain script
for %%a in (*.*) - for every file put it name as a and do
md "%%~na" 2>null - make directory of name a without extension ( ~n ) and do not display error ( 2> null)
move "%%a" "%%~na" - move every file to his directory
Random Solutions
Mutex
cffile upload in component
virus protection won't up date and home is slow loading
how to create a logon batch file to delete temp file from server.
Problem running SSIS Package (containing Execute Process Task) with SQL Server Agent
Export to PDF runtime files
Looking for font (17th century map)
error 0x8004010f when sending and receiving mail
I need a program to parse/extract emails from my gmai/hotmaill account
portal test environment - RAD 6.0