home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 41,108 of 42,547   
   Todd Vargo to Axel Berger   
   Re: batch to put files in to folder of s   
   24 Apr 15 16:18:10   
   
   From: tlvargo@sbcglobal.netz   
      
   On 4/24/2015 1:32 PM, Axel Berger wrote:   
   > Todd Vargo wrote:   
   >>     REN tempdir "%%f"   
   >   
   > This will make the file's extension part of the folder name. If that's   
   > what's wanted, fine, but I doubt it is. So you'd need to extract the   
   > name part from %%f. Unfortunately I only know how to do this in 4DOS:   
   >   
   > 	%@NAME[%f]   
   >   
   > Axel   
   >   
      
   OP stated "move each file in to a folder of the same name" so I wont be   
   loosing any sleep over it.   
      
   --   
   Todd Vargo   
   (Post questions to group only. Remove "z" to email personal messages)   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca