View Single Post
Old 04-12-2006, 11:24 AM  
jenga201
Junior Member
 
Join Date: Aug 2005
Posts: 9
Default

ok, so i saw a thread below this one about the same type of deal...and i made a .bat file to do what i want:

if exist %1\*M*F*COMPLETE* goto copy
exit
:copy
mkdir "C:/Directory%PWD%"
copy %1\*.nfo "C:/Directory%PWD%"
exit

I'm just wondering if there's a variable that's just the directory name...like %PWD% is actually /VirtualPath/Dirname. But to make this easier, it would be helpful for just /Dirname

Any suggestions?

Thanks.
jenga201 is offline   Reply With Quote